rpms/vegastrike/FC-6 vegastrike-0.4.3-ppc.patch, NONE, 1.1 vegastrike.spec, 1.1, 1.2

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Thu May 10 20:51:40 UTC 2007


Author: jwrdegoede

Update of /cvs/extras/rpms/vegastrike/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30628

Modified Files:
	vegastrike.spec 
Added Files:
	vegastrike-0.4.3-ppc.patch 
Log Message:
* Wed May  9 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 0.4.3-3
- Add some missing files including COPYING to %doc
- Fix PPC compilation


vegastrike-0.4.3-ppc.patch:

--- NEW FILE vegastrike-0.4.3-ppc.patch ---
--- vegastrike-0.4.3/objconv/mesher/endianness.h~	2007-05-10 22:55:21.000000000 +0200
+++ vegastrike-0.4.3/objconv/mesher/endianness.h	2007-05-10 22:55:21.000000000 +0200
@@ -42,7 +42,7 @@
                             (((uint32_t)(x) >> 8) & 0x0000FF00) | \
                             ((uint32_t)(x) >> 24))
     #  define le16_to_cpu(x) (((x&0xFF)<<8) | ((unsigned short)(x)>>8))
-    # define le64_to_cpu(x) (DONTUSE__NXSwapBigDoubleToLittle(x))
+    # define le64_to_cpu(x) (DONTUSE__NXSwapBigDoubleToLittleEndian(x))
     # else
     #  define le32_to_cpu(x) (x)
     #  define le16_to_cpu(x) (x)
@@ -53,7 +53,7 @@
     # include <byteswap.h>
     # define le32_to_cpu(x) (bswap_32(x))
     # define le16_to_cpu(x) (bswap_16(x))
-    # define le64_to_cpu(x) (DONTUSE__NXSwapBigDoubleToLittle(x))
+    # define le64_to_cpu(x) (DONTUSE__NXSwapBigDoubleToLittleEndian(x))
     #else
     # define le32_to_cpu(x) (x)
     # define le16_to_cpu(x) (x)


Index: vegastrike.spec
===================================================================
RCS file: /cvs/extras/rpms/vegastrike/FC-6/vegastrike.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- vegastrike.spec	10 May 2007 19:26:24 -0000	1.1
+++ vegastrike.spec	10 May 2007 20:48:01 -0000	1.2
@@ -44,6 +44,7 @@
 Patch13:        vegastrike-0.4.3-use-system-boost.patch
 Patch14:        vegastrike-0.4.3-openal.patch
 Patch15:        vegastrike-0.4.3-sys-python.patch
+Patch16:        vegastrike-0.4.3-ppc.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  libGLU-devel freeglut-devel libXi-devel libXmu-devel gtk2-devel
 BuildRequires:  libjpeg-devel libpng-devel boost-devel expat-devel python-devel
@@ -73,6 +74,7 @@
 %patch13 -p1 -b .boost
 %patch14 -p1 -b .openal
 %patch15 -p1 -b .sys-py
+%patch16 -p1 -b .ppc
 chmod -x `find src -type f`
 sed -i 's|lib/python|%{_lib}/python|g' configure.in
 sed -i 's/\r//g' README
@@ -147,6 +149,7 @@
 %changelog
 * Wed May  9 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 0.4.3-3
 - Add some missing files including COPYING to %%doc
+- Fix PPC compilation
 
 * Mon Apr 23 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 0.4.3-2
 - Add some missing BuildRequires




More information about the fedora-extras-commits mailing list