rpms/chmlib/devel chmlib-chm_lib_c-ppc-patch.diff, NONE, 1.1 chmlib.spec, 1.2, 1.3

Peter Lemenkov (peter) fedora-extras-commits at redhat.com
Mon Jan 9 14:26:30 UTC 2006


Author: peter

Update of /cvs/extras/rpms/chmlib/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30156

Modified Files:
	chmlib.spec 
Added Files:
	chmlib-chm_lib_c-ppc-patch.diff 
Log Message:

First try to fix PPC-arch builds



chmlib-chm_lib_c-ppc-patch.diff:

--- NEW FILE chmlib-chm_lib_c-ppc-patch.diff ---
--- src/chm_lib.c	2005-10-26 16:17:50.000000000 +0400
+++ src/chm_lib.c	2006-01-09 17:12:12.000000000 +0300
@@ -160,7 +160,7 @@
 /* Sparc        */
 /* MIPS         */
 /* PPC          */
-#elif __i386__ || __sun || __sgi || __ppc__
+#elif __i386__ || __sun || __sgi || __ppc__ || ppc
 typedef unsigned char           UChar;
 typedef short                   Int16;
 typedef unsigned short          UInt16;


Index: chmlib.spec
===================================================================
RCS file: /cvs/extras/rpms/chmlib/devel/chmlib.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- chmlib.spec	15 Dec 2005 15:29:43 -0000	1.2
+++ chmlib.spec	9 Jan 2006 14:26:30 -0000	1.3
@@ -1,11 +1,12 @@
 Name: 		chmlib
 Summary: 	Library for dealing with ITSS/CHM format files
 Version: 	0.37.4
-Release: 	1%{?dist}
+Release: 	2
 License: 	LGPL
 Group: 		Development/Libraries
 Url: 		http://66.93.236.84/~jedwin/projects/chmlib/
 Source: 	http://66.93.236.84/~jedwin/projects/chmlib/%{name}-%{version}.tgz
+Patch0:		chmlib-chm_lib_c-ppc-patch.diff
 Buildroot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %description
@@ -25,10 +26,11 @@
 
 %prep
 %setup -q -n chmlib-0.37
+%patch0 -p0
 
 %build
 %configure --disable-static
-%{__make} %{?_smp_mflags}
+%{__make5} %{?_smp_mflags}
 
 %install
 %{__rm} -rf %{buildroot}
@@ -54,6 +56,9 @@
 
 %changelog
 
+* Mon Jan 09 2006 Peter Lemenkov <lemenkov at newmail.ru> 0.37.4-2
+- Fix for PPC-arch
+
 * Sat Nov 12 2005 Peter Lemenkov <lemenkov at newmail.ru> 0.37.4-1
 - Initial build for FC-Extras
 




More information about the fedora-extras-commits mailing list