summaryrefslogtreecommitdiff
path: root/archivers/unzip
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2014-05-03 11:24:19 +0000
committerryoon <ryoon@pkgsrc.org>2014-05-03 11:24:19 +0000
commitc42b32dcf909181b4a726e4e357a4740928ec1aa (patch)
tree5870604ae891c92e512494db83963edfc8684499 /archivers/unzip
parent0f5384d63af107a3df1d6bdc0424425d451e0623 (diff)
downloadpkgsrc-c42b32dcf909181b4a726e4e357a4740928ec1aa.tar.gz
Fix OpenBSD 5.5 build
Diffstat (limited to 'archivers/unzip')
-rw-r--r--archivers/unzip/distinfo4
-rw-r--r--archivers/unzip/patches/patch-unix_unxcfg.h16
2 files changed, 17 insertions, 3 deletions
diff --git a/archivers/unzip/distinfo b/archivers/unzip/distinfo
index 4f1439f1477..98ea6d7537e 100644
--- a/archivers/unzip/distinfo
+++ b/archivers/unzip/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.23 2013/07/26 10:35:44 ryoon Exp $
+$NetBSD: distinfo,v 1.24 2014/05/03 11:24:19 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
+SHA1 (patch-unix_unxcfg.h) = b2831f38b2245dacedd4eb2eef12ee1e3cf20613
diff --git a/archivers/unzip/patches/patch-unix_unxcfg.h b/archivers/unzip/patches/patch-unix_unxcfg.h
index b70fded76d6..dfacb80fe94 100644
--- a/archivers/unzip/patches/patch-unix_unxcfg.h
+++ b/archivers/unzip/patches/patch-unix_unxcfg.h
@@ -1,6 +1,9 @@
-$NetBSD: patch-unix_unxcfg.h,v 1.1 2013/07/26 10:35:44 ryoon Exp $
+$NetBSD: patch-unix_unxcfg.h,v 1.2 2014/05/03 11:24:19 ryoon Exp $
* Fix build on Debian GNU/kFreeBSD.
+* Fix build under OpenBSD 5.5
+ Patch from OpenBSD Ports
+ "timeb was already well deprecated on 4.4BSD"
--- unix/unxcfg.h.orig 2009-04-16 18:36:12.000000000 +0000
+++ unix/unxcfg.h
@@ -12,3 +15,14 @@ $NetBSD: patch-unix_unxcfg.h,v 1.1 2013/07/26 10:35:44 ryoon Exp $
#ifdef NO_OFF_T
typedef long zoff_t;
+@@ -111,7 +112,9 @@ typedef struct stat z_stat;
+
+ #ifdef BSD
+ # include <sys/time.h>
+-# include <sys/timeb.h>
++# ifndef BSD4_4
++# include <sys/timeb.h>
++# endif
+ # if (defined(_AIX) || defined(__GLIBC__) || defined(__GNU__))
+ # include <time.h>
+ # endif