fix build

This commit is contained in:
Matthias Clasen 2010-09-30 08:22:08 -04:00
parent a88e5af2eb
commit 7b34730d60
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,14 @@
diff -up gnome-session-2.32.0/gnome-session/Makefile.am.cflags gnome-session-2.32.0/gnome-session/Makefile.am
--- gnome-session-2.32.0/gnome-session/Makefile.am.cflags 2010-09-30 08:19:16.757603002 -0400
+++ gnome-session-2.32.0/gnome-session/Makefile.am 2010-09-30 08:19:50.708603005 -0400
@@ -80,6 +80,10 @@ gnome_session_LDADD = \
$(GCONF_LIBS) \
$(EXECINFO_LIBS)
+libgsmutil_la_CFLAGS = \
+ $(AM_CPPFLAGS) \
+ $(GCONF_CFLAGS)
+
libgsmutil_la_SOURCES = \
gsm-util.c \
gsm-util.h

View File

@ -77,6 +77,8 @@ Patch4: nag-root-user.patch
Patch5: gdk-display-fix.patch
Patch6: drop-set-has-separator.patch
Patch7: gnome-session-cflags.patch
# an artificial requires to make sure we get dconf, for now
Requires: dconf
@ -101,6 +103,8 @@ Desktop file to add GNOME to display manager session menu.
%patch5 -p1 -b .gdk-display-fix
%patch6 -p1 -b .drop-set-has-separator
%patch7 -p1 -b .cflags
echo "ACLOCAL_AMFLAGS = -I m4" >> Makefile.am
autoreconf -i -f