summaryrefslogtreecommitdiff
path: root/databases/db6/patches
diff options
context:
space:
mode:
authorrichard <richard>2016-08-26 12:31:34 +0000
committerrichard <richard>2016-08-26 12:31:34 +0000
commitf939caf93fc3a4bbe3642a273f43768a3257aa63 (patch)
tree135fe0d655d139b6f1fa4113462bc9ed7fe82c9b /databases/db6/patches
parent693efa81474588f1bbe1800796923d6253a73486 (diff)
downloadpkgsrc-f939caf93fc3a4bbe3642a273f43768a3257aa63.tar.gz
redo patch update for __aarch64__ as the real problem is that only __arm64__
was being checked and not the gcc toolchain's use of __aarch64__. db6 does support the 64-bit ARM platform. previous condition put back as it was prior. ride PKGREVISION bump
Diffstat (limited to 'databases/db6/patches')
-rw-r--r--databases/db6/patches/patch-dist_configure37
1 files changed, 24 insertions, 13 deletions
diff --git a/databases/db6/patches/patch-dist_configure b/databases/db6/patches/patch-dist_configure
index dc702924b5e..38381838744 100644
--- a/databases/db6/patches/patch-dist_configure
+++ b/databases/db6/patches/patch-dist_configure
@@ -1,6 +1,8 @@
-$NetBSD: patch-dist_configure,v 1.2 2016/08/25 06:19:29 richard Exp $
+$NetBSD: patch-dist_configure,v 1.3 2016/08/26 12:31:34 richard Exp $
---- dist/configure.orig 2014-06-10 15:32:54.000000000 +0000
+toolchains differ whether __aarch64__ or __arm64__ should be defined.
+
+--- dist/configure.orig 2015-06-18 20:04:54.000000000 +0000
+++ dist/configure
@@ -5235,7 +5235,7 @@ bsdi3*) CC=${CC-"shlicc2"}
LIBSO_LIBS="$LIBSO_LIBS -lipc";;
@@ -11,7 +13,7 @@ $NetBSD: patch-dist_configure,v 1.2 2016/08/25 06:19:29 richard Exp $
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
LDFLAGS="$LDFLAGS -pthread";;
gnu*|k*bsd*-gnu|linux*)
-@@ -7031,7 +7031,7 @@ fi
+@@ -7029,7 +7029,7 @@ fi
# we're using.
case "$host_os" in
sysv5UnixWare*|sysv5OpenUNIX8*)
@@ -20,7 +22,7 @@ $NetBSD: patch-dist_configure,v 1.2 2016/08/25 06:19:29 richard Exp $
CPPFLAGS="$CPPFLAGS -pthread"
LDFLAGS="$LDFLAGS -pthread"
else
-@@ -12353,7 +12353,7 @@ fi
+@@ -12351,7 +12351,7 @@ fi
hardcode_shlibpath_var=no
;;
@@ -29,7 +31,7 @@ $NetBSD: patch-dist_configure,v 1.2 2016/08/25 06:19:29 richard Exp $
ld_shlibs=no
;;
-@@ -13347,7 +13347,7 @@ dgux*)
+@@ -13345,7 +13345,7 @@ dgux*)
shlibpath_var=LD_LIBRARY_PATH
;;
@@ -38,7 +40,7 @@ $NetBSD: patch-dist_configure,v 1.2 2016/08/25 06:19:29 richard Exp $
dynamic_linker=no
;;
-@@ -13358,7 +13358,7 @@ freebsd* | dragonfly*)
+@@ -13356,7 +13356,7 @@ freebsd* | dragonfly*)
objformat=`/usr/bin/objformat`
else
case $host_os in
@@ -47,7 +49,7 @@ $NetBSD: patch-dist_configure,v 1.2 2016/08/25 06:19:29 richard Exp $
*) objformat=elf ;;
esac
fi
-@@ -15316,7 +15316,7 @@ fi
+@@ -15314,7 +15314,7 @@ fi
esac
;;
@@ -56,7 +58,7 @@ $NetBSD: patch-dist_configure,v 1.2 2016/08/25 06:19:29 richard Exp $
# C++ shared libraries reported to be fairly broken before
# switch to ELF
ld_shlibs_CXX=no
-@@ -17180,7 +17180,7 @@ dgux*)
+@@ -17178,7 +17178,7 @@ dgux*)
shlibpath_var=LD_LIBRARY_PATH
;;
@@ -65,7 +67,7 @@ $NetBSD: patch-dist_configure,v 1.2 2016/08/25 06:19:29 richard Exp $
dynamic_linker=no
;;
-@@ -17191,7 +17191,7 @@ freebsd* | dragonfly*)
+@@ -17189,7 +17189,7 @@ freebsd* | dragonfly*)
objformat=`/usr/bin/objformat`
else
case $host_os in
@@ -74,7 +76,7 @@ $NetBSD: patch-dist_configure,v 1.2 2016/08/25 06:19:29 richard Exp $
*) objformat=elf ;;
esac
fi
-@@ -17838,7 +17838,7 @@ LIBTOOL="./libtool"
+@@ -17836,7 +17836,7 @@ LIBTOOL="./libtool"
INSTALLER="\$(LIBTOOL) --mode=install cp -p"
MAKEFILE_CC="\$(LIBTOOL) --mode=compile ${MAKEFILE_CC}"
@@ -83,7 +85,7 @@ $NetBSD: patch-dist_configure,v 1.2 2016/08/25 06:19:29 richard Exp $
MAKEFILE_CCLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK}"
MAKEFILE_CXX="\$(LIBTOOL) --mode=compile ${MAKEFILE_CXX}"
MAKEFILE_XSOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK} -avoid-version"
-@@ -18571,7 +18571,7 @@ if test "$_JTOPDIR" != "/usr"; then
+@@ -18569,7 +18569,7 @@ if test "$_JTOPDIR" != "/usr"; then
aix*) _JNI_INC_SUBDIRS="aix";;
bsdi*) _JNI_INC_SUBDIRS="bsdos";;
cygwin*) _JNI_INC_SUBDIRS="win32";;
@@ -92,12 +94,21 @@ $NetBSD: patch-dist_configure,v 1.2 2016/08/25 06:19:29 richard Exp $
hp*) _JNI_INC_SUBDIRS="hp-ux";;
linux*) _JNI_INC_SUBDIRS="linux genunix";;
osf*) _JNI_INC_SUBDIRS="alpha";;
-@@ -20755,7 +20755,7 @@ if test "$db_cv_mutex" = no; then
+@@ -20753,7 +20753,7 @@ if test "$db_cv_mutex" = no; then
# avoid these probes for multiprocess pthreads.
;;
*)
- if test "$db_cv_mutex" = no -o "$db_cv_mutex" = posix_only; then
-+ if test "$ac_cv_lib_pthread_main" = yes -o "$db_cv_mutex" = no -o "$db_cv_mutex" = posix_only; then
++ if test "$ac_cv_lib_pthread_main" = yes -a "$db_cv_mutex" = no -o "$db_cv_mutex" = posix_only; then
LIBS="$LIBS -lpthread"
if test "$cross_compiling" = yes; then :
+@@ -21993,7 +21993,7 @@ int
+ main ()
+ {
+
+-#if defined(__arm64__) && defined(__GNUC__)
++#if (defined(__arm64__) || defined(__aarch64__)) && defined(__GNUC__)
+ return (0);
+ #else
+ FAIL TO COMPILE/LINK