diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2020-01-19 15:26:57 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-01-19 15:58:38 +0100 |
commit | 6245872c5c6580402a7dc74804498f7c38adadbe (patch) | |
tree | c3c99a1efdb9afe0d3a2cc1f98183d5856c0683e /main/zip/40-fix-zipnote.patch | |
parent | 5c9c71c298df24c6ce811e5e712e2dbedf7e678d (diff) | |
download | aports-6245872c5c6580402a7dc74804498f7c38adadbe.tar.gz aports-6245872c5c6580402a7dc74804498f7c38adadbe.tar.bz2 aports-6245872c5c6580402a7dc74804498f7c38adadbe.tar.xz |
main/zip: add patch fixing zipnote usage
fixes #8602
Diffstat (limited to 'main/zip/40-fix-zipnote.patch')
-rw-r--r-- | main/zip/40-fix-zipnote.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/main/zip/40-fix-zipnote.patch b/main/zip/40-fix-zipnote.patch new file mode 100644 index 0000000000..1ffef14a4a --- /dev/null +++ b/main/zip/40-fix-zipnote.patch @@ -0,0 +1,15 @@ +Fixes zipnote, see https://gitlab.alpinelinux.org/alpine/aports/issues/8602 + +diff --git a/zipnote.c b/zipnote.c +index 5e02cb6..996f012 100644 +--- a/zipnote.c ++++ b/zipnote.c +@@ -661,7 +661,7 @@ char **argv; /* command line tokens */ + if ((r = zipcopy(z)) != ZE_OK) + ziperr(r, "was copying an entry"); + } +- fclose(x); ++ fclose(in_file); + + /* Write central directory and end of central directory with new comments */ + if ((c = zftello(y)) == (zoff_t)-1) /* get start of central */ |