rpms/advancecomp/devel advancecomp-64bit.patch, NONE, 1.1 advancecomp.spec, 1.8, 1.9
Jeremy Katz (katzj)
fedora-extras-commits at redhat.com
Thu May 26 15:12:08 UTC 2005
Author: katzj
Update of /cvs/extras/rpms/advancecomp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18067
Modified Files:
advancecomp.spec
Added Files:
advancecomp-64bit.patch
Log Message:
* Thu May 26 2005 Jeremy Katz <katzj at redhat.com> - 1.14-4
- fix build on 64bit arches
advancecomp-64bit.patch:
--- NEW FILE advancecomp-64bit.patch ---
--- advancecomp-1.14/7z/Portable.h.64bit 2005-05-26 11:02:30.000000000 -0400
+++ advancecomp-1.14/7z/Portable.h 2005-05-26 10:50:22.000000000 -0400
@@ -16,7 +16,11 @@
typedef UINT16 WORD;
typedef UINT32 DWORD;
-typedef unsigned UINT_PTR;
+#if defined(__x86_64__) || defined(__s390x__) || defined(__ppc64__) || defined(__ia64__) || defined(__sparc64__) || defined(__alpha__)
+typedef unsigned long UINT_PTR;
+#else
+typedef unsigned int UINT_PTR;
+#endif
typedef int BOOL;
#define FALSE 0
Index: advancecomp.spec
===================================================================
RCS file: /cvs/extras/rpms/advancecomp/devel/advancecomp.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- advancecomp.spec 23 May 2005 00:17:22 -0000 1.8
+++ advancecomp.spec 26 May 2005 15:12:06 -0000 1.9
@@ -1,11 +1,12 @@
Summary: Recompression utilities for .PNG, .MNG and .ZIP files
Name: advancecomp
Version: 1.14
-Release: 3
+Release: 4
License: GPL
Group: Applications/Emulators
URL: http://advancemame.sourceforge.net/
Source: http://dl.sf.net/advancemame/advancecomp-%{version}.tar.gz
+Patch0: advancecomp-64bit.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: gcc-c++, zlib-devel
@@ -17,7 +18,8 @@
%prep
-%setup
+%setup -q
+%patch0 -p1 -b .64bit
%build
@@ -42,6 +44,9 @@
%changelog
+* Thu May 26 2005 Jeremy Katz <katzj at redhat.com> - 1.14-4
+- fix build on 64bit arches
+
* Sun May 22 2005 Jeremy Katz <katzj at redhat.com> - 1.14-3
- rebuild on all arches
More information about the fedora-extras-commits
mailing list