diff --git a/gnome-shell-gtk3.patch b/gnome-shell-gtk3.patch new file mode 100644 index 0000000..7d4920c --- /dev/null +++ b/gnome-shell-gtk3.patch @@ -0,0 +1,12 @@ +diff -up gnome-shell-2.91.6/src/shell-doc-system.c.gtk3 gnome-shell-2.91.6/src/shell-doc-system.c +--- gnome-shell-2.91.6/src/shell-doc-system.c.gtk3 2011-02-11 14:28:01.940113427 -0500 ++++ gnome-shell-2.91.6/src/shell-doc-system.c 2011-02-11 14:27:38.853402050 -0500 +@@ -254,7 +254,7 @@ shell_doc_system_open (ShellDocSystem *s + else + { + char *app_name; +-#if GTK_MINOR_VERSION >= 18 ++#if GTK_MAJOR_VERSION >= 3 || GTK_MINOR_VERSION >= 18 + const char *app_exec; + #else + char *app_exec; diff --git a/gnome-shell.spec b/gnome-shell.spec index e86339d..852f790 100644 --- a/gnome-shell.spec +++ b/gnome-shell.spec @@ -59,6 +59,9 @@ Requires: mutter >= %{mutter_version} #Requires: xorg-x11-server-Xephyr #Requires: xorg-x11-xauth +# upstream fix +Patch0: gnome-shell-gtk3.patch + %description GNOME Shell provides core user interface functions for the GNOME 3 desktop, like switching to windows and launching applications. GNOME Shell takes @@ -68,6 +71,7 @@ easy to use experience. %prep %setup -q +%patch0 -p1 -b .gtk3 %build (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;