games/gzdoom: Add missing patch.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2020-11-15 15:08:59 -05:00 committed by Willy Sudiarto Raharjo
parent eab6ddbb15
commit 4cd83fb346
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 12 additions and 0 deletions

View file

@ -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;
}
}

View file

@ -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.