diff options
author | Alexey Neyman <stilor@att.net> | 2017-12-02 23:30:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-02 23:30:38 (GMT) |
commit | d917a29865876b913fe2939ee2a0728145e8543a (patch) | |
tree | 4e048ed57988306696efa3c5b81a80d48030e913 /packages/zlib/1.2.11/0001-no-_wopen-cygwin.patch | |
parent | e832b9b220f90b11b893e2815ceb37ec2b708683 (diff) | |
parent | 98bc4decdeab1361bdc585c86591718fb08c8ffb (diff) |
Merge pull request #874 from stilor/renumber-update-patches
Renumber & update patches
Diffstat (limited to 'packages/zlib/1.2.11/0001-no-_wopen-cygwin.patch')
-rw-r--r-- | packages/zlib/1.2.11/0001-no-_wopen-cygwin.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/zlib/1.2.11/0001-no-_wopen-cygwin.patch b/packages/zlib/1.2.11/0001-no-_wopen-cygwin.patch new file mode 100644 index 0000000..67085ba --- /dev/null +++ b/packages/zlib/1.2.11/0001-no-_wopen-cygwin.patch @@ -0,0 +1,25 @@ +From a5e814c69315f3b7528418f6a5185c4f8a9dc250 Mon Sep 17 00:00:00 2001 +From: Alexey Neyman <stilor@att.net> +Date: Wed, 15 Feb 2017 22:36:35 -0800 +Subject: [PATCH] Fix unresolved reference to _wopen on Cygwin + +The default Cygwin GCC/glibc do not provide _wopen. This seems to be +part of Win32API, which is provided by x86-w64-mingw32-gcc - but that +compiler does not define __CYGWIN__, it defines _WIN32. + +Signed-off-by: Alexey Neyman <stilor@att.net> +--- + gzguts.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/gzguts.h ++++ b/gzguts.h +@@ -39,7 +39,7 @@ + # include <io.h> + #endif + +-#if defined(_WIN32) || defined(__CYGWIN__) ++#if defined(_WIN32) + # define WIDECHAR + #endif + |