make ld happy

This commit is contained in:
Matthias Clasen 2010-02-12 00:23:03 +00:00
parent ea749f5650
commit f3240eb88a
2 changed files with 15 additions and 0 deletions

12
gnome-session-libs.patch Normal file
View File

@ -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 ====================================================================

View File

@ -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 # https://bugzilla.gnome.org/show_bug.cgi?id=607094
Patch4: nag-root-user.patch Patch4: nag-root-user.patch
Patch5: gnome-session-libs.patch
%description %description
gnome-session manages a GNOME desktop or GDM login session. It starts up 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. 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 %setup -q
%patch3 -p1 -b .max-idle %patch3 -p1 -b .max-idle
%patch4 -p1 -b .nag-root-user %patch4 -p1 -b .nag-root-user
%patch5 -p1 -b .libs
echo "ACLOCAL_AMFLAGS = -I m4" >> Makefile.am echo "ACLOCAL_AMFLAGS = -I m4" >> Makefile.am