rpms/mamory/F-9 mamory-0.2.25-ppc64.patch, NONE, 1.1 mamory.spec, 1.1, 1.2

Christopher Stone xulchris at rpmfusion.org
Sun Oct 12 17:58:44 CEST 2008


Author: xulchris

Update of /cvs/free/rpms/mamory/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv450/F-9

Modified Files:
	mamory.spec 
Added Files:
	mamory-0.2.25-ppc64.patch 
Log Message:
add ppc64 patch

mamory-0.2.25-ppc64.patch:

--- NEW FILE mamory-0.2.25-ppc64.patch ---
--- common/memalloc.h~	2008-10-12 08:44:51.000000000 -0700
+++ common/memalloc.h	2008-10-12 08:45:05.000000000 -0700
@@ -24,10 +24,10 @@
 #ifndef COMMON_MEMALLOC_H
 #define COMMON_MEMALLOC_H
 
-inline void *xcalloc(size_t num, size_t size,char *file,int line);
-inline void *xmalloc(size_t num,char *file, int line);
-inline void *xrealloc(void *p, size_t num,char *file,int line);
-inline char *xstrdup(const char *string,char *file, int line);
+extern inline void *xcalloc(size_t num, size_t size,char *file,int line);
+extern inline void *xmalloc(size_t num,char *file, int line);
+extern inline void *xrealloc(void *p, size_t num,char *file,int line);
+extern inline char *xstrdup(const char *string,char *file, int line);
 
 #ifndef NDEBUG
 # define XCALLOC(type,num) ((type*)calloc((num),sizeof(type)))


Index: mamory.spec
===================================================================
RCS file: /cvs/free/rpms/mamory/F-9/mamory.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mamory.spec	12 Oct 2008 14:34:59 -0000	1.1
+++ mamory.spec	12 Oct 2008 15:58:13 -0000	1.2
@@ -1,13 +1,14 @@
 Name:           mamory
 Version:        0.2.25
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        ROM management API and commandline ROM manager for MAME
 
 Group:          Applications/Emulators
 License:        GPLv2 and LGPLv2
 URL:            http://mamory.sourceforge.net
 Source0:        http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-Patch0:         mamory-opt.patch
+Patch0:         %{name}-opt.patch
+Patch1:         %{name}-0.2.25-ppc64.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  expat-devel
@@ -33,6 +34,7 @@
 %prep
 %setup -q
 %patch0 -p0 -b .opt~
+%patch1 -p0 -b .ppc64~
 
 # Avoid lib64 rpaths
 sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
@@ -81,14 +83,18 @@
 
 
 %changelog
-* Sun Nov 25 2007 XulChris <tkmame at retrogames.com> 0.2.25-1%{?dist}
+* Sun Oct 12 2008 Christopher Stone <chris.stone at gmail.com> 0.2.25-2
+- Add patch for ppc64 compiles
+- Clean up %%changelog
+
+* Sun Nov 25 2007 Christopher Stone <chris.stone at gmail.com> 0.2.25-1
 - Upstream sync
 - Fix up some rpmlint warnings
 
-* Mon Jul 30 2007 XulChris <tkmame at retrogames.com> 0.2.24-1%{?dist}
+* Mon Jul 30 2007 Christopher Stone <chris.stone at gmail.com> 0.2.24-1
 - Upstream sync
 
-* Wed Jan 17 2007 XulChris <tkmame at retrogames.com> 0.2.23-1%{?dist}
+* Wed Jan 17 2007 Christopher Stone <chris.stone at gmail.com> 0.2.23-1
 - Upstream sync
 - Rename patch file
 - Add LGPL to license tag
@@ -98,11 +104,11 @@
 - Add expat-devel to BuildRequires
 - Add dist tags to %%changelog
 
-* Sat Dec 16 2006 XulChris <tkmame at retrogames.com> 0.2.22-2%{?dist}
+* Sat Dec 16 2006 Christopher Stone <chris.stone at gmail.com> 0.2.22-2
 - Apply optimization patch from Belegdol
 
-* Tue Dec 12 2006 XulChris <tkmame at retrogames.com> 0.2.22-1%{?dist}
+* Tue Dec 12 2006 Christopher Stone <chris.stone at gmail.com> 0.2.22-1
 - Upstream sync
 
-* Tue Dec 05 2006 XulChris <tkmame at retrogames.com> 0.2.21-1%{?dist}
+* Tue Dec 05 2006 Christopher Stone <chris.stone at gmail.com> 0.2.21-1
 - Initial Release



More information about the rpmfusion-commits mailing list