diff options
author | alnsn <alnsn@pkgsrc.org> | 2016-11-20 12:22:48 +0000 |
---|---|---|
committer | alnsn <alnsn@pkgsrc.org> | 2016-11-20 12:22:48 +0000 |
commit | 8336db2f7b23669a845e13ac10c9b58d3a87da93 (patch) | |
tree | a061bf0da11b120a203516068653c0ca25fcb20f /devel/cmph | |
parent | dd089d38e9587fed29ad593e209255be0fc50b33 (diff) | |
download | pkgsrc-8336db2f7b23669a845e13ac10c9b58d3a87da93.tar.gz |
Update devel/cmph to version 2.0.
Prompted by beta.repology.org.
News for version 2.0
Cleaned up most warnings for the c code.
Experimental C++ interface (--enable-cxxmph) implementing the
BDZ algorithm in a convenient interface, which serves as the
basis for drop-in replacements for std::unordered_map,
sparsehash::sparse_hash_map and sparsehash::dense_hash_map.
Potentially faster lookup time at the expense of insertion time.
See cxxmpph/mph_map.h and cxxmph/mph_index.h for details.
Diffstat (limited to 'devel/cmph')
-rw-r--r-- | devel/cmph/Makefile | 7 | ||||
-rw-r--r-- | devel/cmph/distinfo | 12 | ||||
-rw-r--r-- | devel/cmph/patches/patch-src_brz.c | 7 |
3 files changed, 12 insertions, 14 deletions
diff --git a/devel/cmph/Makefile b/devel/cmph/Makefile index 68a29d3b360..e6cd13d5000 100644 --- a/devel/cmph/Makefile +++ b/devel/cmph/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.5 2012/10/31 11:16:46 asau Exp $ +# $NetBSD: Makefile,v 1.6 2016/11/20 12:22:48 alnsn Exp $ -DISTNAME= cmph-1.1 -PKGREVISION= 1 +DISTNAME= cmph-2.0 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cmph/} @@ -13,7 +12,7 @@ LICENSE= gnu-lgpl-v2 OR mpl-1.1 USE_LIBTOOL= yes GNU_CONFIGURE= yes -TEST_DIRS= tests +TEST_DIRS= tests TEST_TARGET= check BUILDLINK_TRANSFORM+= rm:-Werror diff --git a/devel/cmph/distinfo b/devel/cmph/distinfo index 990f78eb579..80f77c87a26 100644 --- a/devel/cmph/distinfo +++ b/devel/cmph/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.4 2015/11/03 03:27:19 agc Exp $ +$NetBSD: distinfo,v 1.5 2016/11/20 12:22:48 alnsn Exp $ -SHA1 (cmph-1.1.tar.gz) = 005b17395451284cfbc9d4b3d65c7f64a2a97997 -RMD160 (cmph-1.1.tar.gz) = 55392941671d7aa5ade26e8d2f62ea05cc47e543 -SHA512 (cmph-1.1.tar.gz) = e920696bb962c111e2770fbaefc3fa63b04278fd89d7cc8ee44a1cb1bbd15456260c5d0fbc30032044fe19f500b2e58012df03e8864b173a2500427fbb93a13c -Size (cmph-1.1.tar.gz) = 425150 bytes -SHA1 (patch-src_brz.c) = 771589ac40e11240a0746f19cb63490d828c61db +SHA1 (cmph-2.0.tar.gz) = eabdd4cd9f9bb2fed6773caac8d91638ad2d02b7 +RMD160 (cmph-2.0.tar.gz) = fdeb1807657d1cd1ad155a4c81ed222ce8c6c90a +SHA512 (cmph-2.0.tar.gz) = 7f37a8dcfce047ada9968681e07f66f014f8090aa5ce99358944a60715c7ef2bc62abf4b5c146fe99a0c812f2286ff0c009683b702a4e20c66617d955cf80caa +Size (cmph-2.0.tar.gz) = 480924 bytes +SHA1 (patch-src_brz.c) = 56060fd25dcad2844383f310e26f2ae5cd6aaabf SHA1 (patch-src_fch__buckets.c) = 847906f8278ea8068a0897259e7a1bdfb6634d9b diff --git a/devel/cmph/patches/patch-src_brz.c b/devel/cmph/patches/patch-src_brz.c index 166420331d1..a9f774850a5 100644 --- a/devel/cmph/patches/patch-src_brz.c +++ b/devel/cmph/patches/patch-src_brz.c @@ -1,12 +1,11 @@ -$NetBSD: patch-src_brz.c,v 1.1 2011/05/22 11:33:32 alnsn Exp $ +$NetBSD: patch-src_brz.c,v 1.2 2016/11/20 12:22:48 alnsn Exp $ https://sourceforge.net/tracker/?func=detail&aid=3303005&group_id=126608&atid=706186 ---- src/brz.c.orig 2011-05-15 15:31:05.000000000 +0000 +--- src/brz.c.orig 2012-06-08 13:39:43.000000000 +0000 +++ src/brz.c -@@ -981,5 +981,6 @@ cmph_uint32 brz_search_packed(void *pack +@@ -982,4 +982,5 @@ cmph_uint32 brz_search_packed(void *pack return brz_bmz8_search_packed(ptr, key, keylen, fingerprint); default: assert(0); } + return 0; } - |