fix build

This commit is contained in:
Matthias Clasen 2011-03-07 23:10:32 -05:00
parent 8ffbbdf004
commit 0927991fd5
2 changed files with 16 additions and 0 deletions

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

@ -0,0 +1,13 @@
diff -up gnome-session-2.91.91/tools/Makefile.am.libs gnome-session-2.91.91/tools/Makefile.am
--- gnome-session-2.91.91/tools/Makefile.am.libs 2011-03-07 23:08:58.320593583 -0500
+++ gnome-session-2.91.91/tools/Makefile.am 2011-03-07 23:09:24.299268803 -0500
@@ -21,7 +21,8 @@ gnome_session_quit_LDADD = \
$(ICE_LIBS) \
$(GNOME_SESSION_LIBS) \
$(DBUS_GLIB_LIBS) \
- $(GCONF_LIBS)
+ $(GCONF_LIBS) \
+ -lX11
gnome_session_check_accelerated_helper_SOURCES = \
gnome-session-check-accelerated-helper.c

View File

@ -10,6 +10,8 @@ Source0: http://download.gnome.org/sources/gnome-session/2.91/%{name}-%{version}
Source1: gnome-authentication-agent.desktop
Source2: gnome.desktop
Patch0: gnome-session-libs.patch
License: GPLv2+
Group: User Interface/Desktops
@ -82,6 +84,7 @@ Desktop file to add GNOME to display manager session menu.
%prep
%setup -q
%patch0 -p1 -b .libs
echo "ACLOCAL_AMFLAGS = -I m4" >> Makefile.am