packages: crossmingw32-zlib/crossmingw32-zlib.spec, crossmingw32-zlib/cross...

qboosh qboosh at pld-linux.org
Sun Mar 21 13:32:29 CET 2010


Author: qboosh                       Date: Sun Mar 21 12:32:29 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added LFS patch to export *64 functions from DLL
- release 3

---- Files affected:
packages/crossmingw32-zlib:
   crossmingw32-zlib.spec (1.24 -> 1.25) , crossmingw32-zlib-LFS.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/crossmingw32-zlib/crossmingw32-zlib.spec
diff -u packages/crossmingw32-zlib/crossmingw32-zlib.spec:1.24 packages/crossmingw32-zlib/crossmingw32-zlib.spec:1.25
--- packages/crossmingw32-zlib/crossmingw32-zlib.spec:1.24	Sun Mar 21 11:08:06 2010
+++ packages/crossmingw32-zlib/crossmingw32-zlib.spec	Sun Mar 21 13:32:23 2010
@@ -15,11 +15,12 @@
 Summary(pl.UTF-8):	Biblioteka z podprogramami do kompresji i dekompresji - wersja skrośna dla Ming32
 Name:		crossmingw32-%{realname}
 Version:	1.2.4
-Release:	2
+Release:	3
 License:	BSD
 Group:		Development/Libraries
 Source0:	http://www.zlib.net/current/%{realname}-%{version}.tar.gz
 # Source0-md5:	47f6ed51b3c83a8534f9228531effa18
+Patch0:		%{name}-LFS.patch
 URL:		http://www.zlib.org/
 BuildRequires:	crossmingw32-gcc
 BuildRequires:	sed >= 4.0
@@ -88,6 +89,7 @@
 
 %prep
 %setup -q -n %{realname}-%{version}
+%patch0 -p1
 
 %if %{with asmopt}
 %ifarch i686 athlon
@@ -101,7 +103,7 @@
 	CXX="%{__cxx}" \
 	AR="%{target}-ar" \
 	RANLIB="%{target}-ranlib" \
-	CFLAGS="-D_REENTRANT %{rpmcflags}%{?with_asmopt: -DASMV}" \
+	CFLAGS="-D_REENTRANT -D_LARGEFILE64_SOURCE=1 %{rpmcflags}%{?with_asmopt: -DASMV}" \
 	DLLWRAP="%{target}-dllwrap" \
 	RC="%{target}-windres" \
 	CP="install" \
@@ -194,6 +196,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2010/03/21 12:32:23  qboosh
+- added LFS patch to export *64 functions from DLL
+- release 3
+
 Revision 1.24  2010/03/21 10:08:06  qboosh
 - import library must be named libz.dll.a for -lz to work
 - asm586 is no more (dropped upstream)

================================================================
Index: packages/crossmingw32-zlib/crossmingw32-zlib-LFS.patch
diff -u /dev/null packages/crossmingw32-zlib/crossmingw32-zlib-LFS.patch:1.1
--- /dev/null	Sun Mar 21 13:32:29 2010
+++ packages/crossmingw32-zlib/crossmingw32-zlib-LFS.patch	Sun Mar 21 13:32:23 2010
@@ -0,0 +1,12 @@
+--- zlib-1.2.4/win32/zlib.def.orig	2010-03-12 18:56:34.000000000 +0100
++++ zlib-1.2.4/win32/zlib.def	2010-03-21 11:57:55.378704379 +0100
+@@ -72,3 +72,9 @@
+     inflateSyncPoint
+     get_crc_table
+     inflateUndermine
++; LFS
++    adler32_combine64
++    crc32_combine64
++    gzopen64
++    gzseek64
++    gztell64
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/crossmingw32-zlib/crossmingw32-zlib.spec?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list