summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author B. Watson2020-11-15 21:08:59 +0100
committer Willy Sudiarto Raharjo2020-11-21 19:14:26 +0100
commit4cd83fb34670f44ecf0f186e0fb2b28c57215bbb (patch)
treea80778ee19e1ef33091cc490f0e573a704fa17e4 /games
parenteab6ddbb153fe5e3774fc98f6181d54f82e23a9f (diff)
downloadslackbuilds-4cd83fb34670f44ecf0f186e0fb2b28c57215bbb.tar.gz
games/gzdoom: Add missing patch.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/gzdoom/fix_zipdir.diff11
-rw-r--r--games/gzdoom/gzdoom.SlackBuild1
2 files changed, 12 insertions, 0 deletions
diff --git a/games/gzdoom/fix_zipdir.diff b/games/gzdoom/fix_zipdir.diff
new file mode 100644
index 0000000000..88fb016966
--- /dev/null
+++ b/games/gzdoom/fix_zipdir.diff
@@ -0,0 +1,11 @@
+--- a/tools/zipdir/zipdir.c
++++ b/tools/zipdir/zipdir.c
+@@ -781,6 +781,8 @@
+ if (central_dir == NULL)
+ {
+ fprintf(stderr, "Could not read central directory from %s. (Is it a zipfile?)\n", zipname);
++ fclose(ozip);
++ ozip = NULL;
+ update = 0;
+ }
+ }
diff --git a/games/gzdoom/gzdoom.SlackBuild b/games/gzdoom/gzdoom.SlackBuild
index c4e6691aca..7f61d2a621 100644
--- a/games/gzdoom/gzdoom.SlackBuild
+++ b/games/gzdoom/gzdoom.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20201115 bkw: Add missing fix_zipdir.diff. Dammit.
# 20201107 bkw: Updated for 4.5.0.
# 20201027 bkw:
# - Updated for 4.4.2.