pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/zstd zstd: Fix build on SunOS. Requires GNU...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d819b6baeaea
branches: trunk
changeset: 324372:d819b6baeaea
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Wed Oct 17 08:59:16 2018 +0000
description:
zstd: Fix build on SunOS. Requires GNU grep.
diffstat:
archivers/zstd/Makefile | 4 ++--
archivers/zstd/distinfo | 3 ++-
archivers/zstd/patches/patch-zlibWrapper_examples_minigzip.c | 12 ++++++++++++
3 files changed, 16 insertions(+), 3 deletions(-)
diffs (48 lines):
diff -r d982eb5d6a01 -r d819b6baeaea archivers/zstd/Makefile
--- a/archivers/zstd/Makefile Wed Oct 17 08:39:13 2018 +0000
+++ b/archivers/zstd/Makefile Wed Oct 17 08:59:16 2018 +0000
@@ -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 @@
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}
diff -r d982eb5d6a01 -r d819b6baeaea archivers/zstd/distinfo
--- a/archivers/zstd/distinfo Wed Oct 17 08:39:13 2018 +0000
+++ b/archivers/zstd/distinfo Wed Oct 17 08:59:16 2018 +0000
@@ -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 @@
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
diff -r d982eb5d6a01 -r d819b6baeaea archivers/zstd/patches/patch-zlibWrapper_examples_minigzip.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/zstd/patches/patch-zlibWrapper_examples_minigzip.c Wed Oct 17 08:59:16 2018 +0000
@@ -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