diff --git a/gnome-session-libs.patch b/gnome-session-libs.patch new file mode 100644 index 0000000..a686d72 --- /dev/null +++ b/gnome-session-libs.patch @@ -0,0 +1,12 @@ +diff -up gnome-session-2.29.6/configure.in.libs gnome-session-2.29.6/configure.in +--- gnome-session-2.29.6/configure.in.libs 2010-02-11 19:18:01.736273150 -0500 ++++ gnome-session-2.29.6/configure.in 2010-02-11 19:19:29.621272995 -0500 +@@ -165,6 +165,8 @@ AC_CHECK_LIB(Xau, XauFileName, [X_LIBS=" + *** Can't find the Xauth library. It is needed to compile gnome-session.])], + $X_LIBS) + ++X_LIBS="$X_LIBS -lXext" ++ + AC_SUBST(X_LIBS) + + dnl ==================================================================== diff --git a/gnome-session.spec b/gnome-session.spec index 4fcc94d..e717837 100644 --- a/gnome-session.spec +++ b/gnome-session.spec @@ -76,6 +76,8 @@ Patch3: 0001-Add-ability-to-perform-actions-after-a-period-of-idl.patch # https://bugzilla.gnome.org/show_bug.cgi?id=607094 Patch4: nag-root-user.patch +Patch5: gnome-session-libs.patch + %description gnome-session manages a GNOME desktop or GDM login session. It starts up the other core GNOME components and handles logout and saving the session. @@ -92,6 +94,7 @@ Desktop file to add GNOME to display manager session menu. %setup -q %patch3 -p1 -b .max-idle %patch4 -p1 -b .nag-root-user +%patch5 -p1 -b .libs echo "ACLOCAL_AMFLAGS = -I m4" >> Makefile.am