pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/cre2 Add following line



details:   https://anonhg.NetBSD.org/pkgsrc/rev/234ea9e5b58f
branches:  trunk
changeset: 353891:234ea9e5b58f
user:      mef <mef%pkgsrc.org@localhost>
date:      Mon Oct 17 14:06:39 2016 +0000

description:
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:

 devel/cre2/Makefile                   |  4 +++-
 devel/cre2/distinfo                   |  4 ++--
 devel/cre2/patches/patch-src_cre2.cpp |  4 +++-
 3 files changed, 8 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r fb345ddea83f -r 234ea9e5b58f devel/cre2/Makefile
--- a/devel/cre2/Makefile       Mon Oct 17 13:48:12 2016 +0000
+++ b/devel/cre2/Makefile       Mon Oct 17 14:06:39 2016 +0000
@@ -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 @@
 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 -r fb345ddea83f -r 234ea9e5b58f devel/cre2/distinfo
--- a/devel/cre2/distinfo       Mon Oct 17 13:48:12 2016 +0000
+++ b/devel/cre2/distinfo       Mon Oct 17 14:06:39 2016 +0000
@@ -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 -r fb345ddea83f -r 234ea9e5b58f devel/cre2/patches/patch-src_cre2.cpp
--- a/devel/cre2/patches/patch-src_cre2.cpp     Mon Oct 17 13:48:12 2016 +0000
+++ b/devel/cre2/patches/patch-src_cre2.cpp     Mon Oct 17 14:06:39 2016 +0000
@@ -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



Home | Main Index | Thread Index | Old Index