pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/tcpflow Deal with libtre without tre.h.
details: https://anonhg.NetBSD.org/pkgsrc/rev/f4155e96dfe0
branches: trunk
changeset: 365358:f4155e96dfe0
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Jul 14 12:58:25 2017 +0000
description:
Deal with libtre without tre.h.
diffstat:
net/tcpflow/distinfo | 4 +++-
net/tcpflow/patches/patch-src_be13__api_beregex.cpp | 13 +++++++++++++
net/tcpflow/patches/patch-src_dfxml_src_dfxml__writer.cpp | 13 +++++++++++++
3 files changed, 29 insertions(+), 1 deletions(-)
diffs (50 lines):
diff -r 013bc72d1775 -r f4155e96dfe0 net/tcpflow/distinfo
--- a/net/tcpflow/distinfo Fri Jul 14 12:57:23 2017 +0000
+++ b/net/tcpflow/distinfo Fri Jul 14 12:58:25 2017 +0000
@@ -1,9 +1,11 @@
-$NetBSD: distinfo,v 1.8 2017/07/04 13:50:41 jperkin Exp $
+$NetBSD: distinfo,v 1.9 2017/07/14 12:58:25 joerg Exp $
SHA1 (tcpflow-1.4.5.tar.gz) = a86ca927ec68e7a05cdc0da436e365504fdab27b
RMD160 (tcpflow-1.4.5.tar.gz) = 2f30ea47f301fb4737fc3911c1d94f8c53e5db0f
SHA512 (tcpflow-1.4.5.tar.gz) = e31b278b8f4e97b6d1ffb6f8f145a56806963271ab96204ba555ab88049dedc5a13adf78b7775e96e92fe48bbf5116781810cef0d3374231764af059fc09dd97
Size (tcpflow-1.4.5.tar.gz) = 450450 bytes
SHA1 (patch-configure) = 1cd65ab0ae845d908813773bcc6bc5f3fbd135d0
+SHA1 (patch-src_be13__api_beregex.cpp) = 72edfaae9a55ba5eae250061125744e0d83bebe0
+SHA1 (patch-src_dfxml_src_dfxml__writer.cpp) = 2cda94ad1446ea5fdc9b3712433bb0db747eab11
SHA1 (patch-src_tcpip.cpp) = 0ff720b2192ba879c390bb5f82d0e0e240e26078
SHA1 (patch-tests_test-multifile.sh) = 7c614f53a6664b74540ee54f7cb61dfa3934d978
diff -r 013bc72d1775 -r f4155e96dfe0 net/tcpflow/patches/patch-src_be13__api_beregex.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/tcpflow/patches/patch-src_be13__api_beregex.cpp Fri Jul 14 12:58:25 2017 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_be13__api_beregex.cpp,v 1.1 2017/07/14 12:58:25 joerg Exp $
+
+--- src/be13_api/beregex.cpp.orig 2017-07-12 22:51:30.689369147 +0000
++++ src/be13_api/beregex.cpp
+@@ -9,7 +9,7 @@
+ #include <unistd.h>
+
+
+-#if defined(HAVE_LIBTRE) && defined(HAVE_TRE_REGCOMP)
++#if defined(HAVE_LIBTRE) && defined(HAVE_TRE_REGCOMP) && defined(HAVE_TRE_TRE_H)
+ #define REGCOMP tre_regcomp
+ #define REGFREE tre_regfree
+ #define REGEXEC tre_regexec
diff -r 013bc72d1775 -r f4155e96dfe0 net/tcpflow/patches/patch-src_dfxml_src_dfxml__writer.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/tcpflow/patches/patch-src_dfxml_src_dfxml__writer.cpp Fri Jul 14 12:58:25 2017 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_dfxml_src_dfxml__writer.cpp,v 1.1 2017/07/14 12:58:25 joerg Exp $
+
+--- src/dfxml/src/dfxml_writer.cpp.orig 2017-07-12 22:50:57.618132822 +0000
++++ src/dfxml/src/dfxml_writer.cpp
+@@ -710,7 +710,7 @@ void dfxml_writer::add_DFXML_build_envir
+ #ifdef HAVE_EXIV2
+ xmlout("library", "", std::string("name=\"exiv2\" version=\"") + Exiv2::version() + "\"",false);
+ #endif
+-#if defined(HAVE_LIBTRE) && defined(HAVE_TRE_VERSION)
++#if defined(HAVE_LIBTRE) && defined(HAVE_TRE_VERSION) && defined(HAVE_TRE_TRE_H)
+ xmlout("library", "", std::string("name=\"tre\" version=\"") + tre_version() + "\"",false);
+ #endif
+ #ifdef HAVE_HASHID
Home |
Main Index |
Thread Index |
Old Index