freebsd-ports/archivers/fastjar/files/patch-jartool.c
Tijl Coosemans cb09e3fa69 Remove -fPIC and fix the real problem where end_of_entries is sometimes
declared as unsigned int and sometimes as off_t which have a different
size and alignment.
2017-02-13 16:52:44 +00:00

11 lines
337 B
C

--- jartool.c.orig 2006-08-07 08:06:23 UTC
+++ jartool.c
@@ -313,7 +313,7 @@ int number_of_entries; /* number of entr
const char *progname;
/* The offset of the end of the last zip entry. */
-ub4 end_of_entries;
+off_t end_of_entries;
/* This is used to mark options with no short value. */
#define LONG_OPT(Num) ((Num) + 128)