diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2022-01-10 09:55:14 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2022-01-10 09:55:14 -0500 |
commit | 58d6dbd98b7eb82ca0ffee51d5a4fb94c169abfa (patch) | |
tree | b01806d5685bb365978b5dbccb3fdf1df701c1ee /zlib-1.2.7-minizip-cygwin.patch | |
parent | d9f6309f7dc32d532073f32d215342cffd844a0e (diff) | |
download | cygwin-zlib-58d6dbd98b7eb82ca0ffee51d5a4fb94c169abfa.tar.gz cygwin-zlib-58d6dbd98b7eb82ca0ffee51d5a4fb94c169abfa.tar.xz cygwin-zlib-58d6dbd98b7eb82ca0ffee51d5a4fb94c169abfa.zip |
Diffstat (limited to 'zlib-1.2.7-minizip-cygwin.patch')
-rw-r--r-- | zlib-1.2.7-minizip-cygwin.patch | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/zlib-1.2.7-minizip-cygwin.patch b/zlib-1.2.7-minizip-cygwin.patch deleted file mode 100644 index 3cc37d3..0000000 --- a/zlib-1.2.7-minizip-cygwin.patch +++ /dev/null @@ -1,69 +0,0 @@ ---- origsrc/zlib-1.2.7/contrib/minizip/Makefile.am 2012-03-26 23:17:41.000000000 -0400 -+++ src/zlib-1.2.7/contrib/minizip/Makefile.am 2012-05-13 00:10:19.745354100 -0400 -@@ -22,7 +22,8 @@ libminizip_la_SOURCES = \ - zip.c \ - ${iowin32_src} - --libminizip_la_LDFLAGS = $(AM_LDFLAGS) -version-info 1:0:0 -lz -+libminizip_la_LDFLAGS = $(AM_LDFLAGS) -version-info 1:0:0 -no-undefined -+libminizip_la_LIBADD = -lz - - minizip_includedir = $(includedir)/minizip - minizip_include_HEADERS = \ ---- origsrc/zlib-1.2.7/contrib/minizip/ioapi.c 2012-01-21 14:58:45.000000000 -0500 -+++ src/zlib-1.2.7/contrib/minizip/ioapi.c 2012-05-13 00:10:19.759354900 -0400 -@@ -14,8 +14,9 @@ - #define _CRT_SECURE_NO_WARNINGS - #endif - --#if defined(__APPLE__) || defined(IOAPI_NO_64) -+#if defined(__APPLE__) || defined(IOAPI_NO_64) || defined(__CYGWIN__) - // In darwin and perhaps other BSD variants off_t is a 64 bit value, hence no need for specific 64 bit functions -+// Ditto cygwin. - #define FOPEN_FUNC(filename, mode) fopen(filename, mode) - #define FTELLO_FUNC(stream) ftello(stream) - #define FSEEKO_FUNC(stream, offset, origin) fseeko(stream, offset, origin) ---- origsrc/zlib-1.2.7/contrib/minizip/miniunz.c 2010-07-18 12:04:24.000000000 -0400 -+++ src/zlib-1.2.7/contrib/minizip/miniunz.c 2012-05-13 00:10:19.786356400 -0400 -@@ -27,8 +27,9 @@ - #endif - #endif - --#ifdef __APPLE__ -+#if defined(__APPLE__) || defined(__CYGWIN__) - // In darwin and perhaps other BSD variants off_t is a 64 bit value, hence no need for specific 64 bit functions -+// Ditto cygwin. - #define FOPEN_FUNC(filename, mode) fopen(filename, mode) - #define FTELLO_FUNC(stream) ftello(stream) - #define FSEEKO_FUNC(stream, offset, origin) fseeko(stream, offset, origin) -@@ -97,7 +98,7 @@ void change_file_date(filename,dosdate,t - SetFileTime(hFile,&ftm,&ftLastAcc,&ftm); - CloseHandle(hFile); - #else --#ifdef unix || __APPLE__ -+#if defined(unix) || defined(__APPLE__) - struct utimbuf ut; - struct tm newdate; - newdate.tm_sec = tmu_date.tm_sec; ---- origsrc/zlib-1.2.7/contrib/minizip/minizip.c 2012-01-21 15:00:26.000000000 -0500 -+++ src/zlib-1.2.7/contrib/minizip/minizip.c 2012-05-13 00:10:19.814358000 -0400 -@@ -28,8 +28,9 @@ - #endif - #endif - --#ifdef __APPLE__ -+#if defined(__APPLE__) || defined(__CYGWIN__) - // In darwin and perhaps other BSD variants off_t is a 64 bit value, hence no need for specific 64 bit functions -+// Ditto cygwin. - #define FOPEN_FUNC(filename, mode) fopen(filename, mode) - #define FTELLO_FUNC(stream) ftello(stream) - #define FSEEKO_FUNC(stream, offset, origin) fseeko(stream, offset, origin) -@@ -94,7 +95,7 @@ uLong filetime(f, tmzip, dt) - return ret; - } - #else --#ifdef unix || __APPLE__ -+#if defined(unix) || defined(__APPLE__) - uLong filetime(f, tmzip, dt) - char *f; /* name of file to get info on */ - tm_zip *tmzip; /* return value: access, modific. and creation times */ |