[svn] r4793 - trunk/rpms/sdlmame
packagers at lists.rpmforge.net
packagers at lists.rpmforge.net
Fri Oct 6 13:09:34 CEST 2006
Author: thias
Date: 2006-10-06 13:09:34 +0200 (Fri, 06 Oct 2006)
New Revision: 4793
Added:
trunk/rpms/sdlmame/sdlmame0109-ppc.patch
Modified:
trunk/rpms/sdlmame/sdlmame.spec
Log:
Try to fix sdlmame build on ppc... not.
Modified: trunk/rpms/sdlmame/sdlmame.spec
===================================================================
--- trunk/rpms/sdlmame/sdlmame.spec 2006-10-06 09:46:11 UTC (rev 4792)
+++ trunk/rpms/sdlmame/sdlmame.spec 2006-10-06 11:09:34 UTC (rev 4793)
@@ -3,26 +3,31 @@
%define mamever 109
-Summary: SDL MAME
+Summary: SDL port of the Multi Arcade Machine Emulator (MAME)
Name: sdlmame
Version: 0.%{mamever}
-Release: 1
+Release: 2
License: MAME
Group: Applications/Emulators
URL: http://rbelmont.mameworld.info/
# Get with wget --user-agent="" ...
Source: http://rbelmont.mameworld.info/sdlmame0%{mamever}.zip
Patch0: sdlmame0109-genericbuild.patch
+Patch1: sdlmame0109-ppc.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: SDL-devel, expat-devel, zlib-devel
%description
-SDL MAME.
+This is a simple SDL port of the almost legendary MAME. MAME is an arcade
+machine emulator, started in 1997 by Nicola Salmoria. It started out as a
+series of emulators for individual games. This series of emulators was
+combined into a single multi-game emulator.
%prep
%setup -n sdlmame0%{mamever}
%patch0 -p1 -b .genericbuild
+%patch1 -p1 -b .ppc
# Create the required set of empty directories in "dirs" to be included as doc
# (we don't want 'obj' which is currently empty but used during the build)
touch obj/foo
@@ -67,6 +72,10 @@
%changelog
+* Thu Oct 5 2006 Matthias Saou <http://freshrpms.net/> 0.109-2
+- Add ppc patch to remove -mlong-branch (it's an Apple specific gcc option...),
+ but the build still fails later on.
+
* Thu Sep 28 2006 Matthias Saou <http://freshrpms.net/> 0.109-1
- Initial RPM release.
Added: trunk/rpms/sdlmame/sdlmame0109-ppc.patch
===================================================================
--- trunk/rpms/sdlmame/sdlmame0109-ppc.patch (rev 0)
+++ trunk/rpms/sdlmame/sdlmame0109-ppc.patch 2006-10-06 11:09:34 UTC (rev 4793)
@@ -0,0 +1,11 @@
+--- sdlmame0109/makefile.orig 2006-09-26 03:38:10.000000000 +0200
++++ sdlmame0109/makefile 2006-10-05 20:38:31.000000000 +0200
+@@ -263,7 +263,7 @@ CFLAGS = $(OPT_FLAGS) -std=gnu89 -Isrc -
+
+ ifdef SYMBOLS
+ ifdef PPC
+-CFLAGS += -Wall -Wno-unused -g3 -mlong-branch
++CFLAGS += -Wall -Wno-unused -g3
+ else
+ CFLAGS += -Wall -Wno-unused -g3
+ endif # PPC
More information about the svn-commits
mailing list