pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/archivers/zstd
Module Name: pkgsrc
Committed By: jperkin
Date: Wed Oct 17 08:59:16 UTC 2018
Modified Files:
pkgsrc/archivers/zstd: Makefile distinfo
Added Files:
pkgsrc/archivers/zstd/patches: patch-zlibWrapper_examples_minigzip.c
Log Message:
zstd: Fix build on SunOS. Requires GNU grep.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/archivers/zstd/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/archivers/zstd/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/archivers/zstd/patches/patch-zlibWrapper_examples_minigzip.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/zstd/Makefile
diff -u pkgsrc/archivers/zstd/Makefile:1.18 pkgsrc/archivers/zstd/Makefile:1.19
--- pkgsrc/archivers/zstd/Makefile:1.18 Sun Oct 7 06:25:30 2018
+++ pkgsrc/archivers/zstd/Makefile Wed Oct 17 08:59:16 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2018/10/07 06:25:30 adam Exp $
+# $NetBSD: Makefile,v 1.19 2018/10/17 08:59:16 jperkin Exp $
DISTNAME= zstd-1.3.6
CATEGORIES= archivers
@@ -11,7 +11,7 @@ COMMENT= Fast real-time compression algo
LICENSE= modified-bsd OR gnu-gpl-v2
USE_LANGUAGES= c c++
-USE_TOOLS+= gmake pkg-config
+USE_TOOLS+= ggrep gmake pkg-config
PKGCONFIG_OVERRIDE+= lib/libzstd.pc.in
MAKE_FLAGS= MANDIR=${PREFIX}/${PKGMANDIR}
MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR}
Index: pkgsrc/archivers/zstd/distinfo
diff -u pkgsrc/archivers/zstd/distinfo:1.15 pkgsrc/archivers/zstd/distinfo:1.16
--- pkgsrc/archivers/zstd/distinfo:1.15 Sun Oct 7 06:25:30 2018
+++ pkgsrc/archivers/zstd/distinfo Wed Oct 17 08:59:16 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2018/10/07 06:25:30 adam Exp $
+$NetBSD: distinfo,v 1.16 2018/10/17 08:59:16 jperkin Exp $
SHA1 (zstd-1.3.6.tar.gz) = 9b58237274176910537815452a37eb9ab7ded408
RMD160 (zstd-1.3.6.tar.gz) = fcbbf826ef6061be1593b8b47389dba18dd580f9
@@ -6,3 +6,4 @@ SHA512 (zstd-1.3.6.tar.gz) = 2a0144cab77
Size (zstd-1.3.6.tar.gz) = 1823482 bytes
SHA1 (patch-Makefile) = daf9d1946513ee24a4c4c187ec80878e9a578744
SHA1 (patch-lib_Makefile) = 7ab83f2ec7f0fe0c2dd2ad06984cf1cd7e182812
+SHA1 (patch-zlibWrapper_examples_minigzip.c) = 4ed0cb648bdd6efa61b3f66ba6eb1ea74b7767ec
Added files:
Index: pkgsrc/archivers/zstd/patches/patch-zlibWrapper_examples_minigzip.c
diff -u /dev/null pkgsrc/archivers/zstd/patches/patch-zlibWrapper_examples_minigzip.c:1.1
--- /dev/null Wed Oct 17 08:59:16 2018
+++ pkgsrc/archivers/zstd/patches/patch-zlibWrapper_examples_minigzip.c Wed Oct 17 08:59:16 2018
@@ -0,0 +1,12 @@
+$NetBSD: patch-zlibWrapper_examples_minigzip.c,v 1.1 2018/10/17 08:59:16 jperkin Exp $
+
+Set _POSIX_SOURCE correctly.
+
+--- zlibWrapper/examples/minigzip.c.orig 2018-10-05 16:34:52.000000000 +0000
++++ zlibWrapper/examples/minigzip.c
+@@ -20,3 +20,5 @@
+
++#if !defined(__sun) || (__STDC_VERSION__-0 < 199901L)
+ #define _POSIX_SOURCE /* fileno */
++#endif
+
Home |
Main Index |
Thread Index |
Old Index