rpms/gnome-libs/devel gnome-libs-1.4.2-umode_t.patch, NONE, 1.1 gnome-libs.spec, 1.4, 1.5

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Thu Oct 25 11:46:01 UTC 2007


Author: pghmcfc

Update of /cvs/pkgs/rpms/gnome-libs/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32352

Modified Files:
	gnome-libs.spec 
Added Files:
	gnome-libs-1.4.2-umode_t.patch 
Log Message:
Add patch to help configure find umode_t and hence avoid ppc64 build failure

gnome-libs-1.4.2-umode_t.patch:

--- NEW FILE gnome-libs-1.4.2-umode_t.patch ---
ppc64 has umode_t defined as int in asm/types.h, which is called
(in a roundabout way) from sys/wait.h via signal.h

Adding signal.h here lets the configure script find it, avoiding
breakage when it comes to building libgnome/gnome-exec.c

--- gnome-libs-1.4.2/configure	2007-10-25 11:51:18.000000000 +0100
+++ gnome-libs-1.4.2/configure	2007-10-25 12:27:30.000000000 +0100
@@ -11297,6 +11297,7 @@
 #include <stdlib.h>
 #include <stddef.h>
 #endif
+#include <signal.h>
 EOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "(^|[^a-zA-Z_0-9])umode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then


Index: gnome-libs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-libs/devel/gnome-libs.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gnome-libs.spec	25 Oct 2007 10:04:17 -0000	1.4
+++ gnome-libs.spec	25 Oct 2007 11:45:29 -0000	1.5
@@ -66,6 +66,7 @@
 Patch100:       gnome-libs-1.4.2-multilib.patch
 Patch101:       gnome-libs-1.4.2-dateedit-fix1.patch
 Patch102:       gnome-libs-1.4.2-multiarch.patch
+Patch103:       gnome-libs-1.4.2-umode_t.patch
 
 %description
 GNOME (GNU Network Object Model Environment) is a user-friendly set of GUI
@@ -130,6 +131,7 @@
 %patch100 -p1 -b .multilib
 %patch101 -p1 -b .dateedit-fix1
 %patch102 -p1 -b .multiarch
+%patch103 -p1 -b .umode_t
 
 /usr/bin/iconv -f iso-8859-1 -t utf-8 < ChangeLog > ChangeLog.utf-8
 %{__mv} -f ChangeLog.utf-8 ChangeLog
@@ -284,7 +286,7 @@
 %{_libdir}/libgnomeui.so
 
 %changelog
-* Tue Oct 24 2007 Paul Howarth <paul at city-fan.org> 1:1.4.2-6
+* Wed Oct 25 2007 Paul Howarth <paul at city-fan.org> 1:1.4.2-6
 - Clarify licensing (db 1.85 is BSD with advertising, and many objects link
   to it)
 - Don't manually install files in %%install that aren't going to be packaged
@@ -293,6 +295,7 @@
 - Fix multiarch conflicts in %%{_bindir}/gnome-config,
   %%{_bindir}/libart-config, and
   %%{_includedir}/gnome-1.0/libart_lgpl/art_config.h (#341321)
+- Add patch to help configure find umode_t and hence avoid ppc64 build failure
 
 * Fri Mar  9 2007 Paul Howarth <paul at city-fan.org> 1:1.4.2-5
 - Fix GnomeDateEdit time format regression (#230186)




More information about the fedora-extras-commits mailing list