[wormux] Add patch to fix build errors on x86_64

Michael Thomas wart at fedoraproject.org
Sun Sep 12 16:07:48 UTC 2010


commit ff4c613fd18a0e7ed0a5d9f778880966a82d100e
Author: wart <wart at owl.kobold.org>
Date:   Sun Sep 12 09:07:33 2010 -0700

    Add patch to fix build errors on x86_64

 wormux-0.9.2-64bit.patch |   11 +++++++++++
 wormux.spec              |    3 +++
 2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/wormux-0.9.2-64bit.patch b/wormux-0.9.2-64bit.patch
new file mode 100644
index 0000000..25edd89
--- /dev/null
+++ b/wormux-0.9.2-64bit.patch
@@ -0,0 +1,11 @@
+--- lib/fixedpoint/stdint.h.orig	2010-09-12 09:04:52.000000000 -0700
++++ lib/fixedpoint/stdint.h	2010-09-12 09:05:09.000000000 -0700
+@@ -30,7 +30,7 @@
+ typedef unsigned short  uint16_t;
+ typedef int  int32_t;
+ typedef unsigned   uint32_t;
+-typedef long long  int64_t;
++/* typedef long long  int64_t; */
+ typedef unsigned long long   uint64_t;
+ 
+ /* 7.18.1.2  Minimum-width integer types */
diff --git a/wormux.spec b/wormux.spec
index 1c5ca84..8c80956 100644
--- a/wormux.spec
+++ b/wormux.spec
@@ -8,6 +8,7 @@ License:        GPLv2+
 URL:            http://www.wormux.org
 Source0:        http://download.gna.org/wormux/%{name}-%{version}.tar.bz2
 Patch0:         wormux-0.8.3-cflags.patch
+Patch1:         wormux-0.9.2-64bit.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  SDL_image-devel SDL_gfx-devel SDL_mixer-devel
@@ -35,6 +36,7 @@ Data files for wormux
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p0
 
 # Remove a backup file
 rm -f data/game_mode/rope_objects.xml~
@@ -98,6 +100,7 @@ fi
 %changelog
 * Sat Sep 11 2010 Wart <wart at kobold.org> 0.9.2-1
 - Update to 0.9.2
+- Add patch for 64-bit builds
 
 * Sat Feb 6 2010 Wart <wart at kobold.org> 0.9.0-1
 - Update to 0.9.0


More information about the scm-commits mailing list