summaryrefslogtreecommitdiff
path: root/devel/cre2
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2016-10-17 14:06:39 +0000
committermef <mef@pkgsrc.org>2016-10-17 14:06:39 +0000
commitb65ce2478051dfd5b6f1d5d8a52658d5f563c5ea (patch)
tree4413fb242d9835c1a06a49516790208455a91bf2 /devel/cre2
parent27d39b8ac7b9dbc7dba12227a1044e3d1df66eca (diff)
downloadpkgsrc-b65ce2478051dfd5b6f1d5d8a52658d5f563c5ea.tar.gz
Add following line
CPPFLAGS+= -std=c++11 to fix (at least) pkgsrc NetBSD 7.0.1_PATCH/x86_64 2016-10-13 12:53 build Just for FYI, without FLAGS, | checking re2/re2.h usability... no | checking re2/re2.h presence... no | checking for re2/re2.h... no | configure: error: test for RE2 header failed with CXXFLAGS+=, getting below | configure: WARNING: re2/re2.h: accepted by the compiler, rejected by the preprocessor! | configure: WARNING: re2/re2.h: proceeding with the compiler's result Thanks joerg@,
Diffstat (limited to 'devel/cre2')
-rw-r--r--devel/cre2/Makefile4
-rw-r--r--devel/cre2/distinfo4
-rw-r--r--devel/cre2/patches/patch-src_cre2.cpp4
3 files changed, 8 insertions, 4 deletions
diff --git a/devel/cre2/Makefile b/devel/cre2/Makefile
index cbd0199fc8b..dd7f567f8e8 100644
--- a/devel/cre2/Makefile
+++ b/devel/cre2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2016/02/09 03:37:38 agc Exp $
+# $NetBSD: Makefile,v 1.3 2016/10/17 14:06:39 mef Exp $
DISTNAME= cre2
PKGNAME= cre2-0.1b6
@@ -16,6 +16,8 @@ CONFIGURE_ARGS+= --enable-maintainer-mode
USE_LIBTOOL= yes
USE_LANGUAGES+= c c++
USE_TOOLS+= autoconf autoreconf automake gmake makeinfo
+# to avoid configure: error: test for RE2 header failed
+CPPFLAGS+= -std=c++11
INFO_FILES= yes
diff --git a/devel/cre2/distinfo b/devel/cre2/distinfo
index 1446e15fc04..5d5232dfa44 100644
--- a/devel/cre2/distinfo
+++ b/devel/cre2/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2016/03/29 22:03:52 joerg Exp $
+$NetBSD: distinfo,v 1.3 2016/10/17 14:06:39 mef Exp $
SHA1 (cre2.tar.gz) = f5e9286a1829a5387984fbe3d01fe3bfe86bc6ac
RMD160 (cre2.tar.gz) = e3fab4f0b994adbcf4b7cecc45640b2023fbbfec
SHA512 (cre2.tar.gz) = 3180b99bdb68079b33e78dfbe9f943737510021ad2ea2144acb1014200d0e253317e6b52d268c3dae45ddd282c90bb49053fc43de607f8ff0c7f9a9ac9aeb2b7
Size (cre2.tar.gz) = 38090 bytes
-SHA1 (patch-src_cre2.cpp) = 431df2f49cc49919712e163cd97b9b41cd803f2b
+SHA1 (patch-src_cre2.cpp) = 17ecaa1a3c44acd241f3d9e9ad906425bc9f8ea7
diff --git a/devel/cre2/patches/patch-src_cre2.cpp b/devel/cre2/patches/patch-src_cre2.cpp
index cc19cd62884..1fb1c5c0b51 100644
--- a/devel/cre2/patches/patch-src_cre2.cpp
+++ b/devel/cre2/patches/patch-src_cre2.cpp
@@ -1,4 +1,6 @@
-$NetBSD: patch-src_cre2.cpp,v 1.1 2016/03/29 22:03:52 joerg Exp $
+$NetBSD: patch-src_cre2.cpp,v 1.2 2016/10/17 14:06:39 mef Exp $
+
+Don't depend on GCC's VLA of non-POD types extensions.
--- src/cre2.cpp.orig 2016-03-28 17:32:57.445282715 +0000
+++ src/cre2.cpp