diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
commit | d87262dd706fec50cd150aab3e93883b6337466d (patch) | |
tree | 246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-admin/analog/files/analog-6.0-undefined-macro.patch | |
parent | 71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-admin/analog/files/analog-6.0-undefined-macro.patch')
-rw-r--r-- | app-admin/analog/files/analog-6.0-undefined-macro.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/app-admin/analog/files/analog-6.0-undefined-macro.patch b/app-admin/analog/files/analog-6.0-undefined-macro.patch deleted file mode 100644 index 5a98541c465c..000000000000 --- a/app-admin/analog/files/analog-6.0-undefined-macro.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- a/src/unzip/ioapi.h 2004-12-19 14:51:32.000000000 +0100 -+++ b/src/unzip/ioapi.h 2012-01-11 18:07:59.570768250 +0100 -@@ -35,6 +35,16 @@ - extern "C" { - #endif - -+/* Work-around for NetBSD. Its zconf.h doesn't define OF(x) */ -+#ifndef OF -+#ifdef __STDC__ -+#define OF(x) x -+#else -+#define OF(x) () -+#endif -+#endif -+ -+ - typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const char* filename, int mode)); - typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size)); - typedef uLong (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf, uLong size)); ---- a/src/unzip/unzip.h 2004-12-19 14:51:32.000000000 +0100 -+++ b/src/unzip/unzip.h 2012-01-11 18:00:25.988120225 +0100 -@@ -47,6 +47,15 @@ - extern "C" { - #endif - -+/* Work-around for NetBSD. Its zconf.h doesn't define OF(x) */ -+#ifndef OF -+#ifdef __STDC__ -+#define OF(x) x -+#else -+#define OF(x) () -+#endif -+#endif -+ - #ifndef _ZLIB_H - #include "../zlib/zlib.h" - #endif - |