fix build
This commit is contained in:
parent
8ffbbdf004
commit
0927991fd5
13
gnome-session-libs.patch
Normal file
13
gnome-session-libs.patch
Normal 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
|
@ -10,6 +10,8 @@ Source0: http://download.gnome.org/sources/gnome-session/2.91/%{name}-%{version}
|
|||||||
Source1: gnome-authentication-agent.desktop
|
Source1: gnome-authentication-agent.desktop
|
||||||
Source2: gnome.desktop
|
Source2: gnome.desktop
|
||||||
|
|
||||||
|
Patch0: gnome-session-libs.patch
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: User Interface/Desktops
|
Group: User Interface/Desktops
|
||||||
|
|
||||||
@ -82,6 +84,7 @@ Desktop file to add GNOME to display manager session menu.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1 -b .libs
|
||||||
|
|
||||||
echo "ACLOCAL_AMFLAGS = -I m4" >> Makefile.am
|
echo "ACLOCAL_AMFLAGS = -I m4" >> Makefile.am
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user