pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/cmph Update devel/cmph to version 2.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/41b278092df9
branches: trunk
changeset: 355081:41b278092df9
user: alnsn <alnsn%pkgsrc.org@localhost>
date: Sun Nov 20 12:22:48 2016 +0000
description:
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:
devel/cmph/Makefile | 7 +++----
devel/cmph/distinfo | 12 ++++++------
devel/cmph/patches/patch-src_brz.c | 7 +++----
3 files changed, 12 insertions(+), 14 deletions(-)
diffs (59 lines):
diff -r c82ee4790c94 -r 41b278092df9 devel/cmph/Makefile
--- a/devel/cmph/Makefile Sun Nov 20 11:47:47 2016 +0000
+++ b/devel/cmph/Makefile Sun Nov 20 12:22:48 2016 +0000
@@ -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 @@
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
-TEST_DIRS= tests
+TEST_DIRS= tests
TEST_TARGET= check
BUILDLINK_TRANSFORM+= rm:-Werror
diff -r c82ee4790c94 -r 41b278092df9 devel/cmph/distinfo
--- a/devel/cmph/distinfo Sun Nov 20 11:47:47 2016 +0000
+++ b/devel/cmph/distinfo Sun Nov 20 12:22:48 2016 +0000
@@ -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 -r c82ee4790c94 -r 41b278092df9 devel/cmph/patches/patch-src_brz.c
--- a/devel/cmph/patches/patch-src_brz.c Sun Nov 20 11:47:47 2016 +0000
+++ b/devel/cmph/patches/patch-src_brz.c Sun Nov 20 12:22:48 2016 +0000
@@ -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;
}
-
Home |
Main Index |
Thread Index |
Old Index