summaryrefslogtreecommitdiffstats
path: root/libzip-build.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-01-28 19:20:59 +0100
committerRemi Collet <fedora@famillecollet.com>2016-01-28 19:20:59 +0100
commit324248940b4457c7ca2cd2e13a917e19a52bd567 (patch)
treec294dbe0c718e7bdd4e33f30c2ee3c4aa40cbecf /libzip-build.patch
parent0aa163e31f14b16d3d3f3cc347095028ac4a37b5 (diff)
libzip-last 1.1
Diffstat (limited to 'libzip-build.patch')
-rw-r--r--libzip-build.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libzip-build.patch b/libzip-build.patch
new file mode 100644
index 0000000..5736b17
--- /dev/null
+++ b/libzip-build.patch
@@ -0,0 +1,11 @@
+diff -up src/ziptool.c.old src/ziptool.c
+--- src/ziptool.c.old 2016-01-28 14:19:37.026356371 +0100
++++ src/ziptool.c 2016-01-28 14:19:43.394384005 +0100
+@@ -53,6 +53,7 @@
+ #include "compat.h"
+
+ zip_source_t *source_hole_create(const char *, int flags, zip_error_t *);
++extern int optopt;
+
+ typedef enum {
+ SOURCE_TYPE_NONE,