pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/cre2



Module Name:    pkgsrc
Committed By:   mef
Date:           Mon Oct 17 14:06:39 UTC 2016

Modified Files:
        pkgsrc/devel/cre2: Makefile distinfo
        pkgsrc/devel/cre2/patches: patch-src_cre2.cpp

Log Message:
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@,


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/cre2/Makefile \
    pkgsrc/devel/cre2/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/cre2/patches/patch-src_cre2.cpp

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

Modified files:

Index: pkgsrc/devel/cre2/Makefile
diff -u pkgsrc/devel/cre2/Makefile:1.2 pkgsrc/devel/cre2/Makefile:1.3
--- pkgsrc/devel/cre2/Makefile:1.2      Tue Feb  9 03:37:38 2016
+++ pkgsrc/devel/cre2/Makefile  Mon Oct 17 14:06:39 2016
@@ -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-mod
 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
 
Index: pkgsrc/devel/cre2/distinfo
diff -u pkgsrc/devel/cre2/distinfo:1.2 pkgsrc/devel/cre2/distinfo:1.3
--- pkgsrc/devel/cre2/distinfo:1.2      Tue Mar 29 22:03:52 2016
+++ pkgsrc/devel/cre2/distinfo  Mon Oct 17 14:06:39 2016
@@ -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

Index: pkgsrc/devel/cre2/patches/patch-src_cre2.cpp
diff -u pkgsrc/devel/cre2/patches/patch-src_cre2.cpp:1.1 pkgsrc/devel/cre2/patches/patch-src_cre2.cpp:1.2
--- pkgsrc/devel/cre2/patches/patch-src_cre2.cpp:1.1    Tue Mar 29 22:03:52 2016
+++ pkgsrc/devel/cre2/patches/patch-src_cre2.cpp        Mon Oct 17 14:06:39 2016
@@ -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