[gnome-session] fix build

Matthias Clasen mclasen at fedoraproject.org
Thu Sep 30 12:23:37 UTC 2010


commit 7b34730d603772173b23f66cbcb36ba836f96cbb
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Thu Sep 30 08:22:08 2010 -0400

    fix build

 gnome-session-cflags.patch |   14 ++++++++++++++
 gnome-session.spec         |    4 ++++
 2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/gnome-session-cflags.patch b/gnome-session-cflags.patch
new file mode 100644
index 0000000..3c5cb0e
--- /dev/null
+++ b/gnome-session-cflags.patch
@@ -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
diff --git a/gnome-session.spec b/gnome-session.spec
index 4dc3a9c..9b6d88b 100644
--- a/gnome-session.spec
+++ b/gnome-session.spec
@@ -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


More information about the scm-commits mailing list