rpms/powermanga/devel powermanga-64bit.patch, NONE, 1.1 powermanga.spec, 1.6, 1.7

Jeremy Katz (katzj) fedora-extras-commits at redhat.com
Wed May 25 20:49:11 UTC 2005


Author: katzj

Update of /cvs/extras/rpms/powermanga/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24127

Modified Files:
	powermanga.spec 
Added Files:
	powermanga-64bit.patch 
Log Message:
* Wed May 25 2005 Jeremy Katz <katzj at redhat.com> - 0.79-5
- add patch from Ignacio to fix build on x86_64 (#158464)


powermanga-64bit.patch:

--- NEW FILE powermanga-64bit.patch ---
--- powermanga-0.79/src/linuxroutines.cpp.ptr	2005-05-24 15:49:47.000000000 -0400
+++ powermanga-0.79/src/linuxroutines.cpp	2005-05-24 15:50:08.000000000 -0400
@@ -183,7 +183,7 @@
       }
     }
     if(_pMemoire > 0)
-    { fprintf(stderr, "libereMemoire() : can't release the address %x\n", (int)_pMemoire);
+    { fprintf(stderr, "libereMemoire() : can't release the address %zx\n", _pMemoire);
     }
   }
   else


Index: powermanga.spec
===================================================================
RCS file: /cvs/extras/rpms/powermanga/devel/powermanga.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- powermanga.spec	23 May 2005 10:52:38 -0000	1.6
+++ powermanga.spec	25 May 2005 20:49:09 -0000	1.7
@@ -6,12 +6,13 @@
 Summary: Arcade 2D shoot-them-up game
 Name: powermanga
 Version: 0.79
-Release: 4
+Release: 5
 License: GPL
 Group: Amusements/Games
 URL: http://linux.tlk.fr/games/Powermanga/
 Source0: http://linux.tlk.fr/games/Powermanga/download/powermanga-%{version}.tgz
 Source1: powermanga.png
+Patch0: powermanga-64bit.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: XFree86-devel, SDL-devel, SDL_mixer-devel
 %{!?_without_freedesktop:BuildRequires: desktop-file-utils}
@@ -22,7 +23,8 @@
 
 
 %prep
-%setup
+%setup -q
+%patch0 -p1 -b .64bit
 
 %{__cat} > %{name}.desktop << EOF
 [Desktop Entry]
@@ -89,6 +91,9 @@
 
 
 %changelog
+* Wed May 25 2005 Jeremy Katz <katzj at redhat.com> - 0.79-5
+- add patch from Ignacio to fix build on x86_64 (#158464)
+
 * Sun May 22 2005 Jeremy Katz <katzj at redhat.com> - 0.79-4
 - rebuild on all arches
 




More information about the fedora-extras-commits mailing list