pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/archivers/libzip



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Dec 18 16:48:20 UTC 2017

Modified Files:
        pkgsrc/archivers/libzip: distinfo
Added Files:
        pkgsrc/archivers/libzip/patches: patch-regress_nonrandomopen.c

Log Message:
libzip: Work around redefine_extname in SunOS headers.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/archivers/libzip/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/archivers/libzip/patches/patch-regress_nonrandomopen.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/archivers/libzip/distinfo
diff -u pkgsrc/archivers/libzip/distinfo:1.26 pkgsrc/archivers/libzip/distinfo:1.27
--- pkgsrc/archivers/libzip/distinfo:1.26       Mon Nov 20 10:50:09 2017
+++ pkgsrc/archivers/libzip/distinfo    Mon Dec 18 16:48:20 2017
@@ -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

Added files:

Index: pkgsrc/archivers/libzip/patches/patch-regress_nonrandomopen.c
diff -u /dev/null pkgsrc/archivers/libzip/patches/patch-regress_nonrandomopen.c:1.1
--- /dev/null   Mon Dec 18 16:48:20 2017
+++ pkgsrc/archivers/libzip/patches/patch-regress_nonrandomopen.c       Mon Dec 18 16:48:20 2017
@@ -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