rpms/advancecomp/devel advancecomp-1.14-64bit.patch, NONE, 1.1 advancecomp.spec, 1.9, 1.10 advancecomp-64bit.patch, 1.1, NONE

Matthias Saou (thias) fedora-extras-commits at redhat.com
Fri May 27 08:34:41 UTC 2005


Author: thias

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

Modified Files:
	advancecomp.spec 
Added Files:
	advancecomp-1.14-64bit.patch 
Removed Files:
	advancecomp-64bit.patch 
Log Message:
Modify 64bit patch, as suggested by Ralf.


advancecomp-1.14-64bit.patch:

--- NEW FILE advancecomp-1.14-64bit.patch ---
diff -Naupr advancecomp-1.14.orig/7z/Portable.h advancecomp-1.14/7z/Portable.h
--- advancecomp-1.14.orig/7z/Portable.h	2003-02-10 20:25:16.000000000 +0100
+++ advancecomp-1.14/7z/Portable.h	2005-05-27 10:24:22.000000000 +0200
@@ -2,6 +2,7 @@
 #define __PORTABLE_H
 
 #include <string.h>
+#include <stdint.h>
 
 typedef signed char INT8;
 typedef unsigned char UINT8;
@@ -12,11 +13,11 @@ typedef unsigned long UINT32;
 typedef long long INT64;
 typedef unsigned long long UINT64;
 
-typedef UINT8 BYTE;
-typedef UINT16 WORD;
-typedef UINT32 DWORD;
+typedef uint8_t BYTE;
+typedef uint16_t WORD;
+typedef uint32_t DWORD;
 
-typedef unsigned UINT_PTR;
+typedef uintptr_t UINT_PTR;
 
 typedef int BOOL;
 #define FALSE 0


Index: advancecomp.spec
===================================================================
RCS file: /cvs/extras/rpms/advancecomp/devel/advancecomp.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- advancecomp.spec	26 May 2005 15:12:06 -0000	1.9
+++ advancecomp.spec	27 May 2005 08:34:39 -0000	1.10
@@ -1,12 +1,12 @@
 Summary: Recompression utilities for .PNG, .MNG and .ZIP files
 Name: advancecomp
 Version: 1.14
-Release: 4
+Release: 5
 License: GPL
 Group: Applications/Emulators
 URL: http://advancemame.sourceforge.net/
 Source: http://dl.sf.net/advancemame/advancecomp-%{version}.tar.gz
-Patch0: advancecomp-64bit.patch
+Patch0: advancecomp-1.14-64bit.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: gcc-c++, zlib-devel
 
@@ -44,6 +44,9 @@
 
 
 %changelog
+* Fri May 27 2005 Matthias Saou <http://freshrpms.net/> 1.14-5
+- Update 64bit patch to a cleaner approach as Ralf suggested.
+
 * Thu May 26 2005 Jeremy Katz <katzj at redhat.com> - 1.14-4
 - fix build on 64bit arches
 


--- advancecomp-64bit.patch DELETED ---




More information about the fedora-extras-commits mailing list