diff options
author | wiz <wiz@pkgsrc.org> | 2017-09-01 07:52:02 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2017-09-01 07:52:02 +0000 |
commit | 790f09ba8e5507cca4e247663eefd1dffd6e2597 (patch) | |
tree | c4c090a909d66dba2e3b7bd699dde6c63dcd5ff5 /devel | |
parent | ca084e678b32da7e7c45da4edae6969bd88ae7b3 (diff) | |
download | pkgsrc-790f09ba8e5507cca4e247663eefd1dffd6e2597.tar.gz |
Replace patch with correct upstream fix.
Bump PKGREVISION.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/tlsh/Makefile | 3 | ||||
-rw-r--r-- | devel/tlsh/distinfo | 4 | ||||
-rw-r--r-- | devel/tlsh/patches/patch-utils_rand__tags.cpp | 6 |
3 files changed, 7 insertions, 6 deletions
diff --git a/devel/tlsh/Makefile b/devel/tlsh/Makefile index c6249b4c5af..62e22319d1e 100644 --- a/devel/tlsh/Makefile +++ b/devel/tlsh/Makefile @@ -1,5 +1,6 @@ -# $NetBSD: Makefile,v 1.1 2015/12/02 17:22:18 wiz Exp $ +# $NetBSD: Makefile,v 1.2 2017/09/01 07:52:02 wiz Exp $ +PKGREVISION= 1 USE_CMAKE= yes CONFIGURE_DIRS= build/release CMAKE_ARG_PATH= ../.. diff --git a/devel/tlsh/distinfo b/devel/tlsh/distinfo index ec008b9d16b..461697bc950 100644 --- a/devel/tlsh/distinfo +++ b/devel/tlsh/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.4 2016/12/17 14:18:32 joerg Exp $ +$NetBSD: distinfo,v 1.5 2017/09/01 07:52:02 wiz Exp $ SHA1 (tlsh-3.4.5.tar.gz) = 2d50b1e66ffbfd215f36648258d28be4171015c0 RMD160 (tlsh-3.4.5.tar.gz) = a7f5f94d8113a6d6e24a84fe86b3d9dc93609757 SHA512 (tlsh-3.4.5.tar.gz) = 039f9fb9fb467a9b22f85a621c46069bac1745da039657840e1ff1a53901392fcf29d3c953b0f47d831d022a5e2594925c726d4ff921614418a3bb023a4ebbdc Size (tlsh-3.4.5.tar.gz) = 1914815 bytes -SHA1 (patch-utils_rand__tags.cpp) = 084f910f41e04aa214e62c3b2e430e27d0e14920 +SHA1 (patch-utils_rand__tags.cpp) = 024d61efd590d5e16b20100eac729276fc996ee6 diff --git a/devel/tlsh/patches/patch-utils_rand__tags.cpp b/devel/tlsh/patches/patch-utils_rand__tags.cpp index 0d523941d1e..d924edbb104 100644 --- a/devel/tlsh/patches/patch-utils_rand__tags.cpp +++ b/devel/tlsh/patches/patch-utils_rand__tags.cpp @@ -1,6 +1,6 @@ -$NetBSD: patch-utils_rand__tags.cpp,v 1.1 2016/12/17 14:18:32 joerg Exp $ +$NetBSD: patch-utils_rand__tags.cpp,v 1.2 2017/09/01 07:52:02 wiz Exp $ -Checking for negative pointers doesn't make sense. +https://github.com/trendmicro/tlsh/commit/fb076b0f62b620e0de4cf95a5ccb81f21d4abc24#diff-02ad04ab1753a2119772311c29f24d23 --- utils/rand_tags.cpp.orig 2016-12-16 17:30:02.495417195 +0000 +++ utils/rand_tags.cpp @@ -9,7 +9,7 @@ Checking for negative pointers doesn't make sense. static void rhtml_contents(std::string &htmls, int *ntags, int *ndistinct_tags) { - if ((*ntags <= 0) && (ndistinct_tags <= 0)) -+ if ((*ntags <= 0) && (ndistinct_tags == 0)) ++ if ((*ntags <= 0) && (*ndistinct_tags <= 0)) return; if (random() % 10 == 1) { anchor(htmls); |