rpms/mamory/devel mamory-0.2.25-ppc64.patch, 1.2, 1.3 mamory.spec, 1.3, 1.4

Christopher Stone xulchris at rpmfusion.org
Sun Oct 12 17:47:05 CEST 2008


Author: xulchris

Update of /cvs/free/rpms/mamory/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv32245

Modified Files:
	mamory.spec 
Added Files:
	mamory-0.2.25-ppc64.patch 
Log Message:
2nd attempt at a ppc64 compile, no idea if this works

mamory-0.2.25-ppc64.patch:

Index: mamory-0.2.25-ppc64.patch
===================================================================
RCS file: mamory-0.2.25-ppc64.patch
diff -N mamory-0.2.25-ppc64.patch
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ mamory-0.2.25-ppc64.patch	12 Oct 2008 15:47:04 -0000	1.3
@@ -0,0 +1,17 @@
+--- 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/devel/mamory.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- mamory.spec	12 Oct 2008 15:26:59 -0000	1.3
+++ mamory.spec	12 Oct 2008 15:47:04 -0000	1.4
@@ -8,6 +8,7 @@
 URL:            http://mamory.sourceforge.net
 Source0:        http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 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



More information about the rpmfusion-commits mailing list