pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/unzip Fix OpenBSD 5.5 build
details: https://anonhg.NetBSD.org/pkgsrc/rev/aa367e1bf630
branches: trunk
changeset: 633802:aa367e1bf630
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Sat May 03 11:24:19 2014 +0000
description:
Fix OpenBSD 5.5 build
diffstat:
archivers/unzip/distinfo | 4 ++--
archivers/unzip/patches/patch-unix_unxcfg.h | 16 +++++++++++++++-
2 files changed, 17 insertions(+), 3 deletions(-)
diffs (43 lines):
diff -r 1938b84fbeaa -r aa367e1bf630 archivers/unzip/distinfo
--- a/archivers/unzip/distinfo Sat May 03 11:23:56 2014 +0000
+++ b/archivers/unzip/distinfo Sat May 03 11:24:19 2014 +0000
@@ -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 -r 1938b84fbeaa -r aa367e1bf630 archivers/unzip/patches/patch-unix_unxcfg.h
--- a/archivers/unzip/patches/patch-unix_unxcfg.h Sat May 03 11:23:56 2014 +0000
+++ b/archivers/unzip/patches/patch-unix_unxcfg.h Sat May 03 11:24:19 2014 +0000
@@ -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 @@
#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
Home |
Main Index |
Thread Index |
Old Index