rpms/sdlmame/devel sdlmame-bne.patch,NONE,1.1 sdlmame.spec,1.6,1.7

Julian Sikorski belegdol at rpmfusion.org
Mon Jul 14 12:53:44 CEST 2008


Author: belegdol

Update of /cvs/nonfree/rpms/sdlmame/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv2919

Modified Files:
	sdlmame.spec 
Added Files:
	sdlmame-bne.patch 
Log Message:
* Mon Jul 14 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0126-3
- Patched bne-- inline assembly to allow ppc64 build


sdlmame-bne.patch:

--- NEW FILE sdlmame-bne.patch ---
--- src/emu/eigccppc.h.bne~	2008-03-02 01:35:58.000000000 +0100
+++ src/emu/eigccppc.h	2008-07-14 12:48:03.000000000 +0200
@@ -343,7 +343,7 @@
 		"   cmpd   %[compare], %[result]  \n"
 		"   bne    2f                     \n"
 		"   stdcx. %[exchange], 0, %[ptr] \n"
-		"   bne--  1b                     \n"
+		"   bne-   1b                     \n"
 		"2:                                 "
 	  : [dummy]    "+m"  (*ptr)	/* Lets GCC know that *ptr will be read/written in case it's not marked volatile */
 	  , [result]   "=&r" (result)
--- src/osd/sdl/osinline.h.bne~	2008-06-29 00:26:53.000000000 +0200
+++ src/osd/sdl/osinline.h	2008-07-14 12:48:43.000000000 +0200
@@ -69,7 +69,7 @@
 	__asm__ __volatile__ (
 		"1: ldarx  %[ret], 0, %[ptr]      \n"
 		"   stdcx. %[exchange], 0, %[ptr] \n"
-		"   bne--  1b                     \n"
+		"   bne-   1b                     \n"
 		: [ret]      "=&r" (ret)
 		: [ptr]      "r"   (ptr)
 		, [exchange] "r"   (exchange)


Index: sdlmame.spec
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmame/devel/sdlmame.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sdlmame.spec	14 Jul 2008 08:27:19 -0000	1.6
+++ sdlmame.spec	14 Jul 2008 10:53:43 -0000	1.7
@@ -18,7 +18,7 @@
 
 Name:           sdlmame
 Version:        0126
-Release:        2%{?beta}%{?dist}
+Release:        3%{?beta}%{?dist}
 Summary:        SDL Multiple Arcade Machine Emulator
 
 Group:          Applications/Emulators
@@ -27,6 +27,7 @@
 Source0:        http://rbelmont.mameworld.info/%{name}%{_version}.zip
 Patch0:         %{name}-warnings.patch
 Patch1:         %{name}-expat.patch
+Patch2:         %{name}-bne.patch
 BuildRoot:      %{_tmppath}/%{name}-%{_version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  SDL-devel expat-devel zlib-devel libGL-devel gtk2-devel
@@ -71,6 +72,7 @@
 %setup -qn %{name}%{_version}
 %patch0 -p0 -b .warnings~
 %patch1 -p0 -b .expat~
+%patch2 -p0 -b .bne~
 
 # Create mame.ini file
 cat > mame.ini << EOF
@@ -182,6 +184,9 @@
 
 
 %changelog
+* Mon Jul 14 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0126-3
+- Patched bne-- inline assembly to allow ppc64 build
+
 * Mon Jul 14 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0126-2
 - Added ppc64 arch_flags
 



More information about the rpmfusion-commits mailing list