- added LFS patch to export *64 functions from DLL
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 21 Mar 2010 12:32:23 +0000 (12:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 3

Changed files:
    crossmingw32-zlib-LFS.patch -> 1.1
    crossmingw32-zlib.spec -> 1.25

crossmingw32-zlib-LFS.patch [new file with mode: 0644]
crossmingw32-zlib.spec

diff --git a/crossmingw32-zlib-LFS.patch b/crossmingw32-zlib-LFS.patch
new file mode 100644 (file)
index 0000000..2fbbaca
--- /dev/null
@@ -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
index 9fc59ea..4e59876 100644 (file)
@@ -14,11 +14,12 @@ Summary:    Library for compression and decompression - Ming32 cross version
 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
@@ -87,6 +88,7 @@ zlib - biblioteka DLL dla Windows.
 
 %prep
 %setup -q -n %{realname}-%{version}
+%patch0 -p1
 
 %if %{with asmopt}
 %ifarch i686 athlon
@@ -100,7 +102,7 @@ cp contrib/asm686/match.S .
        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" \
This page took 0.122682 seconds and 4 git commands to generate.