From 3ce0282b501fa0f5cf7b2ba00c3df75c654f155d Mon Sep 17 00:00:00 2001 From: fhajny Date: Fri, 18 Jul 2014 10:31:48 +0000 Subject: Update libbson to 0.98. Changes in 0.98: - This release includes a new memory callback vtable to help in embedding situations that have their own custom allocator such as various language runtimes. - A few compilation fixes for various C++ compilers have also been included. Changes in 0.8.4: - Alignment fixes for Solaris Studio C compiler. - RPM and Debian packaging helpers. - bson_gettimeofday() has dropped the deprecated timezone field used when calling posix gettimeofday(). This eases portability concerns. It is technically an ABI break, but since the field was never set, in reality it shouldn't be an issue. - Multi-byte optimizations for bson_oid_to_string() have been disabled on non-x86 based platforms. This should aid in architecture portability. - The JSON parser can now support $numberLong. - bson_ascii_strtoll() has been added, which is a portable strtoll() implementation. This is primarily useful for Windows users and is used by the JSON parser. - A bug was fixed in bson_iter_find_descendant() where the wrong field could be matched if it's prefix matched the query. - bson_array_as_json() has been added to convert a bson_t as a top-level array. --- devel/libbson/Makefile | 4 ++-- devel/libbson/PLIST | 3 ++- devel/libbson/buildlink3.mk | 4 ++-- devel/libbson/distinfo | 9 ++++----- devel/libbson/patches/patch-configure | 14 -------------- 5 files changed, 10 insertions(+), 24 deletions(-) delete mode 100644 devel/libbson/patches/patch-configure diff --git a/devel/libbson/Makefile b/devel/libbson/Makefile index d3898318aa5..2b6b8345b88 100644 --- a/devel/libbson/Makefile +++ b/devel/libbson/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.3 2014/06/11 13:50:19 fhajny Exp $ +# $NetBSD: Makefile,v 1.4 2014/07/18 10:31:48 fhajny Exp $ -DISTNAME= libbson-0.8.2 +DISTNAME= libbson-0.98.0 CATEGORIES= devel MASTER_SITES= http://github.com/mongodb/libbson/releases/download/${PKGVERSION_NOREV}/ diff --git a/devel/libbson/PLIST b/devel/libbson/PLIST index 8c14a6846d3..51185b7db3c 100644 --- a/devel/libbson/PLIST +++ b/devel/libbson/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2014/06/11 13:50:19 fhajny Exp $ +@comment $NetBSD: PLIST,v 1.3 2014/07/18 10:31:48 fhajny Exp $ include/libbson-1.0/bcon.h include/libbson-1.0/bson-atomic.h include/libbson-1.0/bson-clock.h @@ -130,6 +130,7 @@ man/man3/bson_md5_append.3 man/man3/bson_md5_finish.3 man/man3/bson_md5_init.3 man/man3/bson_md5_t.3 +man/man3/bson_mem_set_vtable.3 man/man3/bson_new.3 man/man3/bson_new_from_buffer.3 man/man3/bson_new_from_data.3 diff --git a/devel/libbson/buildlink3.mk b/devel/libbson/buildlink3.mk index ecb58d5a064..574c387c5d2 100644 --- a/devel/libbson/buildlink3.mk +++ b/devel/libbson/buildlink3.mk @@ -1,11 +1,11 @@ -# $NetBSD: buildlink3.mk,v 1.2 2014/06/11 13:50:19 fhajny Exp $ +# $NetBSD: buildlink3.mk,v 1.3 2014/07/18 10:31:48 fhajny Exp $ BUILDLINK_TREE+= libbson .if !defined(LIBBSON_BUILDLINK3_MK) LIBBSON_BUILDLINK3_MK:= -BUILDLINK_API_DEPENDS.libbson+= libbson>=0.8.0 +BUILDLINK_API_DEPENDS.libbson+= libbson>=0.8.4 BUILDLINK_PKGSRCDIR.libbson?= ../../devel/libbson .endif # LIBBSON_BUILDLINK3_MK diff --git a/devel/libbson/distinfo b/devel/libbson/distinfo index b7312e15b31..7d7c0bec633 100644 --- a/devel/libbson/distinfo +++ b/devel/libbson/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.2 2014/06/11 13:50:19 fhajny Exp $ +$NetBSD: distinfo,v 1.3 2014/07/18 10:31:48 fhajny Exp $ -SHA1 (libbson-0.8.2.tar.gz) = d55efe111e7fc9e62ae6cd1eb09d88ac6dc78149 -RMD160 (libbson-0.8.2.tar.gz) = 80393f17eb15680199aa7237e1f2cfbbd18fa3ff -Size (libbson-0.8.2.tar.gz) = 4467000 bytes -SHA1 (patch-configure) = 9ffba2df753b7b210bb44846a9600480634a9c3b +SHA1 (libbson-0.98.0.tar.gz) = 3e80019b8896669dc84781fe105438a3ccd2f483 +RMD160 (libbson-0.98.0.tar.gz) = 0fba756d8f652ebc441cdaaeb292081adef5bdd8 +Size (libbson-0.98.0.tar.gz) = 4451923 bytes diff --git a/devel/libbson/patches/patch-configure b/devel/libbson/patches/patch-configure deleted file mode 100644 index 051cd15a06d..00000000000 --- a/devel/libbson/patches/patch-configure +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-configure,v 1.1 2014/05/07 15:43:59 fhajny Exp $ - -Portability. ---- configure.orig 2014-05-07 11:46:16.964134378 +0000 -+++ configure -@@ -20130,7 +20130,7 @@ else - ax_python_lib=no - fi - -- if test x$ax_python_lib == xno; then -+ if test x$ax_python_lib = xno; then - as_ac_Lib=`$as_echo "ac_cv_lib_${ax_python_bin}m''_main" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l${ax_python_bin}m" >&5 - $as_echo_n "checking for main in -l${ax_python_bin}m... " >&6; } -- cgit v1.2.3