diff --git a/powermanga-64bit.patch b/powermanga-64bit.patch new file mode 100644 index 0000000..b2a6ed9 --- /dev/null +++ b/powermanga-64bit.patch @@ -0,0 +1,11 @@ +--- 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 diff --git a/powermanga.spec b/powermanga.spec index fc7f807..81ae6a3 100644 --- a/powermanga.spec +++ b/powermanga.spec @@ -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 @@ Powermanga is an arcade 2D shoot-them-up game with 41 levels and more than %prep -%setup +%setup -q +%patch0 -p1 -b .64bit %{__cat} > %{name}.desktop << EOF [Desktop Entry] @@ -89,6 +91,9 @@ desktop-file-install \ %changelog +* Wed May 25 2005 Jeremy Katz - 0.79-5 +- add patch from Ignacio to fix build on x86_64 (#158464) + * Sun May 22 2005 Jeremy Katz - 0.79-4 - rebuild on all arches