diff options
author | ryoon <ryoon@pkgsrc.org> | 2013-07-26 10:35:44 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2013-07-26 10:35:44 +0000 |
commit | 63358d0415817cd9ce95c641e8b269fe241fa75c (patch) | |
tree | 942dab79517efd7803215ad5a799f9924ae48801 /archivers/unzip | |
parent | 5d455a5978c20bdee9ee50201c49b879797bad54 (diff) | |
download | pkgsrc-63358d0415817cd9ce95c641e8b269fe241fa75c.tar.gz |
Fix build under GNU/kFreeBSD.
Diffstat (limited to 'archivers/unzip')
-rw-r--r-- | archivers/unzip/distinfo | 3 | ||||
-rw-r--r-- | archivers/unzip/patches/patch-unix_unxcfg.h | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/archivers/unzip/distinfo b/archivers/unzip/distinfo index 719784231ad..4f1439f1477 100644 --- a/archivers/unzip/distinfo +++ b/archivers/unzip/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.22 2012/09/15 10:35:29 wiz Exp $ +$NetBSD: distinfo,v 1.23 2013/07/26 10:35:44 ryoon Exp $ SHA1 (unzip60.tgz) = abf7de8a4018a983590ed6f5cbd990d4740f8a22 RMD160 (unzip60.tgz) = 48af66606e9472e45fbb94bc4e285da23d1b89ba Size (unzip60.tgz) = 1376845 bytes SHA1 (patch-ab) = 672635c469e0a53ac9808f8155ee38643a8acf69 SHA1 (patch-ac) = 27b91401d4d5ecc3842c91dc49c08f42c8646154 +SHA1 (patch-unix_unxcfg.h) = a858011d5bc82bab38c9398f8660cefa798d60fb diff --git a/archivers/unzip/patches/patch-unix_unxcfg.h b/archivers/unzip/patches/patch-unix_unxcfg.h new file mode 100644 index 00000000000..b70fded76d6 --- /dev/null +++ b/archivers/unzip/patches/patch-unix_unxcfg.h @@ -0,0 +1,14 @@ +$NetBSD: patch-unix_unxcfg.h,v 1.1 2013/07/26 10:35:44 ryoon Exp $ + +* Fix build on Debian GNU/kFreeBSD. + +--- unix/unxcfg.h.orig 2009-04-16 18:36:12.000000000 +0000 ++++ unix/unxcfg.h +@@ -52,6 +52,7 @@ + + #include <sys/types.h> /* off_t, time_t, dev_t, ... */ + #include <sys/stat.h> ++#include <unistd.h> + + #ifdef NO_OFF_T + typedef long zoff_t; |