libzip: unbreak build on glibc.

This commit is contained in:
Juan RP 2016-01-29 08:05:44 +01:00
parent e9b8225c2e
commit bf4243068e
2 changed files with 12 additions and 1 deletions

View file

@ -0,0 +1,11 @@
--- src/ziptool.c.orig 2016-01-29 08:04:37.465790156 +0100
+++ src/ziptool.c 2016-01-29 08:04:56.296977874 +0100
@@ -78,6 +78,8 @@ zip_t *za, *z_in[16];
unsigned int z_in_count;
zip_flags_t stat_flags;
+int optopt;
+
static int
add(int argc, char *argv[]) {
zip_source_t *zs;

View file

@ -1,7 +1,7 @@
# Template file for 'libzip'
pkgname=libzip
version=1.1
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="perl"
makedepends="zlib-devel"