libzip: unbreak build on glibc.
This commit is contained in:
parent
e9b8225c2e
commit
bf4243068e
2 changed files with 12 additions and 1 deletions
11
srcpkgs/libzip/patches/getopt.patch
Normal file
11
srcpkgs/libzip/patches/getopt.patch
Normal 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;
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libzip'
|
# Template file for 'libzip'
|
||||||
pkgname=libzip
|
pkgname=libzip
|
||||||
version=1.1
|
version=1.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
makedepends="zlib-devel"
|
makedepends="zlib-devel"
|
||||||
|
|
Loading…
Reference in a new issue