rpms/SimGear/devel SimGear-0.3.11pre1-ppcfixes.patch, NONE, 1.1 SimGear.spec, 1.3, 1.4

Tom Callaway (spot) fedora-extras-commits at redhat.com
Wed Jun 27 16:54:23 UTC 2007


Author: spot

Update of /cvs/pkgs/rpms/SimGear/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12612

Modified Files:
	SimGear.spec 
Added Files:
	SimGear-0.3.11pre1-ppcfixes.patch 
Log Message:

Fix PPC.


SimGear-0.3.11pre1-ppcfixes.patch:

--- NEW FILE SimGear-0.3.11pre1-ppcfixes.patch ---
--- SimGear-0.3.11-pre1/simgear/nasal/naref.h.BAD	2007-06-27 11:43:05.000000000 -0500
+++ SimGear-0.3.11-pre1/simgear/nasal/naref.h	2007-06-27 11:48:12.000000000 -0500
@@ -13,7 +13,7 @@
     defined(__ia64__) || defined(_M_IA64) || defined(__ARMEL__) 
 # define NASAL_LE
 #elif defined(__sparc) || defined(__ppc__) || defined(__mips) || \
-      defined(__ARMEB__)
+      defined(__ARMEB__) || defined (__powerpc__) || defined (__powerpc64__)
 # define NASAL_BE
 #else
 # error Unrecognized CPU architecture


Index: SimGear.spec
===================================================================
RCS file: /cvs/pkgs/rpms/SimGear/devel/SimGear.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- SimGear.spec	27 Jun 2007 16:19:27 -0000	1.3
+++ SimGear.spec	27 Jun 2007 16:53:47 -0000	1.4
@@ -1,6 +1,6 @@
 Name:		SimGear
 Version:	0.3.11
-Release:	0.1.pre1%{?dist}
+Release:	0.2.pre1%{?dist}
 License:	GPL
 Group:		System Environment/Libraries
 Summary:	Simulation library components
@@ -14,6 +14,7 @@
 Patch4:		SimGear-0.3.10-thesky.patch
 Patch5:		SimGear-0.3.10-untangle.patch
 Patch6:		SimGear-0.3.11pre1-buildmiscbeforeprops.patch
+Patch7:		SimGear-0.3.11pre1-ppcfixes.patch
 BuildRequires:	openal-devel, plib-devel, libXt-devel, libXext-devel
 BuildRequires:	libXi-devel, libXmu-devel, freeglut-devel, freealut-devel
 BuildRequires:	zlib-devel, libjpeg-devel
@@ -49,6 +50,8 @@
 %patch5 -p1
 # Build misc/ before props/
 %patch6 -p1
+# Fix ppc defines in conditional to be more complete.
+%patch7 -p1
 
 %build
 %configure --with-jpeg-factory --disable-static
@@ -105,6 +108,9 @@
 %{_libdir}/libsgxml.so
 
 %changelog
+* Wed Jun 27 2007 Tom "spot" Callaway <tcallawa at redhat.com> 0.3.11-0.2.pre1
+- fix ppc defines in conditional to be more complete
+
 * Wed Jun 27 2007 Tom "spot" Callaway <tcallawa at redhat.com> 0.3.11-0.1.pre1
 - bump to 0.3.11-0.1.pre1
 - fix BZ 245320




More information about the fedora-extras-commits mailing list