summaryrefslogtreecommitdiff
path: root/databases/db6/patches
diff options
context:
space:
mode:
authoradam <adam>2017-01-26 11:03:17 +0000
committeradam <adam>2017-01-26 11:03:17 +0000
commit1034de25a73f01bdd3cb6933b09639128d63ffcd (patch)
treee5c68c6dbcf0e86f8c68159d274e176bcdfad79c /databases/db6/patches
parentd6e54726b37fed652f9f7620244189f98a596ed7 (diff)
downloadpkgsrc-1034de25a73f01bdd3cb6933b09639128d63ffcd.tar.gz
Changes 6.2.23:
New Features/Improvements ------------------------- Added support for global message prefixes. Added Replication Manager write forwarding, which enables a client to perform simple put and delete operations by forwarding them to the master. Improved the way we mark a password as consumed. Added support for IPv6. Added support for Java 8. Added support for ARMv7 and above, and for ARM64. ARMv6 and below are no longer supported. Add a new SMP-optimized data model that is especially valuable for highly multithreaded applications. A sliced Berkeley DB instance contains a collection of related Berkeley DB environments, known as slices, each containing a disjoint subset of records. Transactional consistency is individually maintained within each slice, rather than across multiple slices. DB now supports the client-server architecture by providing a stand-alone server program and Java client driver APIs. The server program offers remote access to DB features. The client driver APIs provide building blocks for applications that communicate with a database server. Multiple client applications can communicate with a single server simultaneously. Enabled support of the SQLite user authentication extension. Added Visual Studio 2012 projects. Encryption and checksum can now be enabled with external files (formerly known as BLOBs). Note that only the data stored in the database will be encrypted and checksum protected. The data in the external files will not be encrypted or checksum protected. The BLOB files feature has been renamed external files to reduce confusion with the SQL BLOB datatype. The BLOB related functions have been deprecated, and replaced with new function names; for example, ext_file_threshold has replaced blob_threshold, and blob_threshold is deprecated. See the Upgrading section of the documentation for more details.
Diffstat (limited to 'databases/db6/patches')
-rw-r--r--databases/db6/patches/patch-dist_Makefile.in19
-rw-r--r--databases/db6/patches/patch-dist_configure47
-rw-r--r--databases/db6/patches/patch-src_dbinc_atomic.h10
3 files changed, 43 insertions, 33 deletions
diff --git a/databases/db6/patches/patch-dist_Makefile.in b/databases/db6/patches/patch-dist_Makefile.in
index d907593a29c..6a16cf2ca70 100644
--- a/databases/db6/patches/patch-dist_Makefile.in
+++ b/databases/db6/patches/patch-dist_Makefile.in
@@ -1,9 +1,9 @@
-$NetBSD: patch-dist_Makefile.in,v 1.1 2015/01/01 18:52:52 ryoon Exp $
+$NetBSD: patch-dist_Makefile.in,v 1.2 2017/01/26 11:03:17 adam Exp $
* For pkgsrc installation.
* Use db6 instead of db.
---- dist/Makefile.in.orig 2014-06-10 15:32:54.000000000 +0000
+--- dist/Makefile.in.orig 2016-03-28 19:45:48.000000000 +0000
+++ dist/Makefile.in
@@ -17,7 +17,7 @@ exec_prefix=@exec_prefix@
bindir= @bindir@
@@ -41,19 +41,20 @@ $NetBSD: patch-dist_Makefile.in,v 1.1 2015/01/01 18:52:52 ryoon Exp $
libcxx= $(libcxx_base).a
libcxx_version= $(libcxx_base)-$(LIBVERSION).a
libxso= $(libcxx_base)-$(LIBVERSION)@SOSUFFIX@
-@@ -158,9 +158,9 @@ JAVA_EXDIR= $(exampledir)/java/src
- JAVA_SLEEPYCAT= $(langdir)/java/src/com/sleepycat
- JAVA_MANIFEST= $(langdir)/java/jarManifestEntries
+@@ -162,10 +162,10 @@ JAVA_MANIFEST= $(langdir)/java/jarManife
+
+ JDK_VERSION= `$(JAVAC) -version 2>&1 | sed 's/.*\.\(.*\)\..*/\\1/'`
-libj_jarfile= db.jar
+libj_jarfile= db6.jar
libj_exjarfile= dbexamples.jar
+ libj_demojarfile=dbdemos.jar
-libjso_base= libdb_java
+libjso_base= libdb6_java
libjso= $(libjso_base)-$(LIBVERSION)@JMODSUFFIX@
libjso_static= $(libjso_base)-$(LIBVERSION).a
libjso_target= $(libjso_base)-$(LIBVERSION).la
-@@ -176,7 +176,7 @@ libjso_g= $(libjso_base)-$(LIBVERSION)_g
+@@ -181,7 +181,7 @@ libjso_g= $(libjso_base)-$(LIBVERSION)_g
TCL_INCLUDE_SPEC= @TCL_INCLUDE_SPEC@
LIBTSO_LIBS= @LIBTSO_LIBS@ @LIBSO_LIBS@
TCL_SRCDIR= $(langdir)/tcl
@@ -62,7 +63,7 @@ $NetBSD: patch-dist_Makefile.in,v 1.1 2015/01/01 18:52:52 ryoon Exp $
libtcl= $(libtcl_base).a
libtcl_version= $(libtcl_base)-$(LIBVERSION).a
libtso= $(libtcl_base)-$(LIBVERSION)@LIBTSO_MODSUFFIX@
-@@ -1103,8 +1103,7 @@ install_include: $(INCDOT)
+@@ -1167,8 +1167,7 @@ install_include: $(INCDOT)
@for f in $(INCDOT); do \
basef=`echo $$f | $(SED) 's,.*/,,'` ; \
$(RM) $(DESTDIR)$(includedir)/$$basef ; \
@@ -72,7 +73,7 @@ $NetBSD: patch-dist_Makefile.in,v 1.1 2015/01/01 18:52:52 ryoon Exp $
done
uninstall_include:
-@@ -1150,10 +1149,8 @@ install_utilities:
+@@ -1215,10 +1214,8 @@ install_utilities:
@for i in $(UTIL_PROGS); do \
test -f $$i.exe && i=$$i.exe; \
e=`echo $$i | $(SED) '$(transform)'`; \
@@ -85,7 +86,7 @@ $NetBSD: patch-dist_Makefile.in,v 1.1 2015/01/01 18:52:52 ryoon Exp $
done
uninstall_utilities:
-@@ -1175,7 +1172,7 @@ install_docs:
+@@ -1258,7 +1255,7 @@ install_docs:
($(MKDIR) -p $(DESTDIR)$(docdir) && \
$(CHMOD) $(dmode) $(DESTDIR)$(docdir))
@cd $(DESTDIR)$(docdir) && $(RM) -r $(DOCLIST)
diff --git a/databases/db6/patches/patch-dist_configure b/databases/db6/patches/patch-dist_configure
index 38381838744..cb15b272f60 100644
--- a/databases/db6/patches/patch-dist_configure
+++ b/databases/db6/patches/patch-dist_configure
@@ -1,10 +1,11 @@
-$NetBSD: patch-dist_configure,v 1.3 2016/08/26 12:31:34 richard Exp $
+$NetBSD: patch-dist_configure,v 1.4 2017/01/26 11:03:17 adam Exp $
-toolchains differ whether __aarch64__ or __arm64__ should be defined.
+Toolchains differ whether __aarch64__ or __arm64__ should be defined.
+Portability fix.
---- dist/configure.orig 2015-06-18 20:04:54.000000000 +0000
+--- dist/configure.orig 2016-03-28 19:45:49.000000000 +0000
+++ dist/configure
-@@ -5235,7 +5235,7 @@ bsdi3*) CC=${CC-"shlicc2"}
+@@ -5318,7 +5318,7 @@ bsdi3*) CC=${CC-"shlicc2"}
LIBSO_LIBS="$LIBSO_LIBS -lipc";;
cygwin*)
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE -D_REENTRANT";;
@@ -13,7 +14,7 @@ toolchains differ whether __aarch64__ or __arm64__ should be defined.
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
LDFLAGS="$LDFLAGS -pthread";;
gnu*|k*bsd*-gnu|linux*)
-@@ -7029,7 +7029,7 @@ fi
+@@ -7112,7 +7112,7 @@ fi
# we're using.
case "$host_os" in
sysv5UnixWare*|sysv5OpenUNIX8*)
@@ -22,7 +23,7 @@ toolchains differ whether __aarch64__ or __arm64__ should be defined.
CPPFLAGS="$CPPFLAGS -pthread"
LDFLAGS="$LDFLAGS -pthread"
else
-@@ -12351,7 +12351,7 @@ fi
+@@ -12434,7 +12434,7 @@ fi
hardcode_shlibpath_var=no
;;
@@ -31,7 +32,7 @@ toolchains differ whether __aarch64__ or __arm64__ should be defined.
ld_shlibs=no
;;
-@@ -13345,7 +13345,7 @@ dgux*)
+@@ -13428,7 +13428,7 @@ dgux*)
shlibpath_var=LD_LIBRARY_PATH
;;
@@ -40,7 +41,7 @@ toolchains differ whether __aarch64__ or __arm64__ should be defined.
dynamic_linker=no
;;
-@@ -13356,7 +13356,7 @@ freebsd* | dragonfly*)
+@@ -13439,7 +13439,7 @@ freebsd* | dragonfly*)
objformat=`/usr/bin/objformat`
else
case $host_os in
@@ -49,7 +50,7 @@ toolchains differ whether __aarch64__ or __arm64__ should be defined.
*) objformat=elf ;;
esac
fi
-@@ -15314,7 +15314,7 @@ fi
+@@ -15397,7 +15397,7 @@ fi
esac
;;
@@ -58,7 +59,7 @@ toolchains differ whether __aarch64__ or __arm64__ should be defined.
# C++ shared libraries reported to be fairly broken before
# switch to ELF
ld_shlibs_CXX=no
-@@ -17178,7 +17178,7 @@ dgux*)
+@@ -17261,7 +17261,7 @@ dgux*)
shlibpath_var=LD_LIBRARY_PATH
;;
@@ -67,7 +68,7 @@ toolchains differ whether __aarch64__ or __arm64__ should be defined.
dynamic_linker=no
;;
-@@ -17189,7 +17189,7 @@ freebsd* | dragonfly*)
+@@ -17272,7 +17272,7 @@ freebsd* | dragonfly*)
objformat=`/usr/bin/objformat`
else
case $host_os in
@@ -76,7 +77,7 @@ toolchains differ whether __aarch64__ or __arm64__ should be defined.
*) objformat=elf ;;
esac
fi
-@@ -17836,7 +17836,7 @@ LIBTOOL="./libtool"
+@@ -17919,7 +17919,7 @@ LIBTOOL="./libtool"
INSTALLER="\$(LIBTOOL) --mode=install cp -p"
MAKEFILE_CC="\$(LIBTOOL) --mode=compile ${MAKEFILE_CC}"
@@ -85,16 +86,24 @@ toolchains differ whether __aarch64__ or __arm64__ should be defined.
MAKEFILE_CCLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK}"
MAKEFILE_CXX="\$(LIBTOOL) --mode=compile ${MAKEFILE_CXX}"
MAKEFILE_XSOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK} -avoid-version"
-@@ -18569,7 +18569,7 @@ if test "$_JTOPDIR" != "/usr"; then
- aix*) _JNI_INC_SUBDIRS="aix";;
+@@ -18663,6 +18663,7 @@ if test "$_JTOPDIR" != "/usr"; then
bsdi*) _JNI_INC_SUBDIRS="bsdos";;
cygwin*) _JNI_INC_SUBDIRS="win32";;
-- freebsd*) _JNI_INC_SUBDIRS="freebsd";;
-+ freebsd*|dragonfly*) _JNI_INC_SUBDIRS="freebsd";;
+ darwin*) _JNI_INC_SUBDIRS="darwin";;
++ dragonfly*) _JNI_INC_SUBDIRS="freebsd";;
+ freebsd*) _JNI_INC_SUBDIRS="freebsd";;
hp*) _JNI_INC_SUBDIRS="hp-ux";;
linux*) _JNI_INC_SUBDIRS="linux genunix";;
- osf*) _JNI_INC_SUBDIRS="alpha";;
-@@ -20753,7 +20753,7 @@ if test "$db_cv_mutex" = no; then
+@@ -20531,7 +20532,7 @@ else
+ fi
+
+
+-if test "$ac_cv_sizeof_off_t" == "4"; then
++if test "$ac_cv_sizeof_off_t" = "4"; then
+ db_off_t_max_decl="#define DB_OFF_T_MAX INT32_MAX"
+ else
+ db_off_t_max_decl="#define DB_OFF_T_MAX INT64_MAX"
+@@ -20866,7 +20867,7 @@ if test "$db_cv_mutex" = no; then
# avoid these probes for multiprocess pthreads.
;;
*)
@@ -103,7 +112,7 @@ toolchains differ whether __aarch64__ or __arm64__ should be defined.
LIBS="$LIBS -lpthread"
if test "$cross_compiling" = yes; then :
-@@ -21993,7 +21993,7 @@ int
+@@ -22106,7 +22107,7 @@ int
main ()
{
diff --git a/databases/db6/patches/patch-src_dbinc_atomic.h b/databases/db6/patches/patch-src_dbinc_atomic.h
index 8d3125f86bd..5216efaf238 100644
--- a/databases/db6/patches/patch-src_dbinc_atomic.h
+++ b/databases/db6/patches/patch-src_dbinc_atomic.h
@@ -1,6 +1,6 @@
-$NetBSD: patch-src_dbinc_atomic.h,v 1.2 2015/09/08 18:51:28 joerg Exp $
+$NetBSD: patch-src_dbinc_atomic.h,v 1.3 2017/01/26 11:03:17 adam Exp $
---- src/dbinc/atomic.h.orig 2015-09-02 11:18:22.000000000 +0000
+--- src/dbinc/atomic.h.orig 2016-03-28 19:45:54.000000000 +0000
+++ src/dbinc/atomic.h
@@ -70,7 +70,7 @@ typedef struct {
* These have no memory barriers; the caller must include them when necessary.
@@ -11,12 +11,12 @@ $NetBSD: patch-src_dbinc_atomic.h,v 1.2 2015/09/08 18:51:28 joerg Exp $
#ifdef HAVE_ATOMIC_SUPPORT
-@@ -205,7 +205,7 @@ static inline int __atomic_compare_excha
+@@ -225,7 +225,7 @@ static inline int __atomic_compare_excha
#define atomic_dec(env, p) (--(p)->value)
#define atomic_compare_exchange(env, p, oldval, newval) \
(DB_ASSERT(env, atomic_read(p) == (oldval)), \
- atomic_init(p, (newval)), 1)
+ db_atomic_init(p, (newval)), 1)
#else
- #define atomic_inc(env, p) __atomic_inc(env, p)
- #define atomic_dec(env, p) __atomic_dec(env, p)
+ #define atomic_inc(env, p) __atomic_inc_int(env, p)
+ #define atomic_dec(env, p) __atomic_dec_int(env, p)