diff options
author | joerg <joerg@pkgsrc.org> | 2017-07-14 12:58:25 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2017-07-14 12:58:25 +0000 |
commit | 32210c970b1c994a10c151ba4fc818ca21c8a549 (patch) | |
tree | 5086e7422551bcfb2a3bacc486ab9b059e26456b /net/tcpflow | |
parent | 5982cfb2b838282a77bcbdf13eaaf0b987ac41f7 (diff) | |
download | pkgsrc-32210c970b1c994a10c151ba4fc818ca21c8a549.tar.gz |
Deal with libtre without tre.h.
Diffstat (limited to 'net/tcpflow')
-rw-r--r-- | net/tcpflow/distinfo | 4 | ||||
-rw-r--r-- | net/tcpflow/patches/patch-src_be13__api_beregex.cpp | 13 | ||||
-rw-r--r-- | net/tcpflow/patches/patch-src_dfxml_src_dfxml__writer.cpp | 13 |
3 files changed, 29 insertions, 1 deletions
diff --git a/net/tcpflow/distinfo b/net/tcpflow/distinfo index d90d8349667..babd77f73a0 100644 --- a/net/tcpflow/distinfo +++ b/net/tcpflow/distinfo @@ -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 --git a/net/tcpflow/patches/patch-src_be13__api_beregex.cpp b/net/tcpflow/patches/patch-src_be13__api_beregex.cpp new file mode 100644 index 00000000000..d71b6889397 --- /dev/null +++ b/net/tcpflow/patches/patch-src_be13__api_beregex.cpp @@ -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 --git a/net/tcpflow/patches/patch-src_dfxml_src_dfxml__writer.cpp b/net/tcpflow/patches/patch-src_dfxml_src_dfxml__writer.cpp new file mode 100644 index 00000000000..b42d5ecb2a3 --- /dev/null +++ b/net/tcpflow/patches/patch-src_dfxml_src_dfxml__writer.cpp @@ -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 |