pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/libzip libzip: Work around redefine_extname ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ecc2ecf63e6d
branches: trunk
changeset: 372838:ecc2ecf63e6d
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Mon Dec 18 16:48:20 2017 +0000
description:
libzip: Work around redefine_extname in SunOS headers.
diffstat:
archivers/libzip/distinfo | 3 ++-
archivers/libzip/patches/patch-regress_nonrandomopen.c | 18 ++++++++++++++++++
2 files changed, 20 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r 1c922f960246 -r ecc2ecf63e6d archivers/libzip/distinfo
--- a/archivers/libzip/distinfo Mon Dec 18 15:33:59 2017 +0000
+++ b/archivers/libzip/distinfo Mon Dec 18 16:48:20 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.26 2017/11/20 10:50:09 wiz Exp $
+$NetBSD: distinfo,v 1.27 2017/12/18 16:48:20 jperkin Exp $
SHA1 (libzip-1.3.2.tar.xz) = 5a940f2132066b258e42c60530599fec579be082
RMD160 (libzip-1.3.2.tar.xz) = ade49a6cfddc190bd2613d3e06714b124c9bd938
SHA512 (libzip-1.3.2.tar.xz) = d7b678c4a39f7bc33f90febac1b42230eac4d414e835dab7d3458a81f047482cee9ee65b6374bdf8abbf5a33c23725e8771da51300ba92ddc6728b570caec255
Size (libzip-1.3.2.tar.xz) = 942756 bytes
+SHA1 (patch-regress_nonrandomopen.c) = fd569d7dc8725adb16127cebefd16b196162e406
diff -r 1c922f960246 -r ecc2ecf63e6d archivers/libzip/patches/patch-regress_nonrandomopen.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/libzip/patches/patch-regress_nonrandomopen.c Mon Dec 18 16:48:20 2017 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-regress_nonrandomopen.c,v 1.1 2017/12/18 16:48:20 jperkin Exp $
+
+Work around redefine_extname in SunOS headers.
+
+--- regress/nonrandomopen.c.orig 2017-10-06 11:00:00.000000000 +0000
++++ regress/nonrandomopen.c
+@@ -31,6 +31,11 @@
+ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
++#if defined(__sun)
++#pragma redefine_extname open open
++#pragma redefine_extname open64 open64
++#endif
++
+ #include <fcntl.h>
+ #include <stdarg.h>
+ #include <stdlib.h>
Home |
Main Index |
Thread Index |
Old Index