summaryrefslogtreecommitdiff
path: root/archivers/zoo/files/patch-zoodel.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--archivers/zoo/files/patch-zoodel.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/archivers/zoo/files/patch-zoodel.c b/archivers/zoo/files/patch-zoodel.c
new file mode 100644
index 000000000000..f01eb93146e2
--- /dev/null
+++ b/archivers/zoo/files/patch-zoodel.c
@@ -0,0 +1,14 @@
+--- zoodel.c.orig 1991-07-16 15:58:46 UTC
++++ zoodel.c
+@@ -138,7 +138,11 @@ if (*option == 'g') {
+
+ /* read archive header */
+ frd_zooh (&zoo_header, zoo_file);
++#ifdef __LP64__
++ if ((int)(zoo_header.zoo_start + zoo_header.zoo_minus) != 0)
++#else
+ if ((zoo_header.zoo_start + zoo_header.zoo_minus) != 0L)
++#endif
+ prterror ('f', failed_consistency);
+ if (ver_too_high (&zoo_header))
+ prterror ('f', wrong_version, zoo_header.major_ver, zoo_header.minor_ver);