From c8a7979fc21e31c8b20bbc17da1cf58c7ddba429 Mon Sep 17 00:00:00 2001 From: Lionel Sambuc Date: Thu, 3 Nov 2016 00:04:01 +0000 Subject: [PATCH] databases/db5 --- databases/db5/distinfo | 1 + databases/db5/patches/patch-zz-minix-a | 94 ++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 databases/db5/patches/patch-zz-minix-a diff --git a/databases/db5/distinfo b/databases/db5/distinfo index f805d0c5a..e7703619a 100644 --- a/databases/db5/distinfo +++ b/databases/db5/distinfo @@ -15,3 +15,4 @@ SHA1 (patch-src_mp_mp__mvcc.c) = 2e8b4e5ff7a7534681597261ba82ca08e9231567 SHA1 (patch-src_mp_mp__region.c) = 1c33dc783660515ff24ba018d1ef99cedf9eb3f8 SHA1 (patch-src_mutex_mut__method.c) = 0d13673db042bc0a3d2a49f6636b12f8d2b6e7ca SHA1 (patch-src_mutex_mut__tas.c) = 873d5b4ef69ad0e792c28567e54beda76f1b126c +SHA1 (patch-zz-minix-a) = 984764e56fdf305c387a68d0a0792294ba429e03 diff --git a/databases/db5/patches/patch-zz-minix-a b/databases/db5/patches/patch-zz-minix-a new file mode 100644 index 000000000..ff85f3ad3 --- /dev/null +++ b/databases/db5/patches/patch-zz-minix-a @@ -0,0 +1,94 @@ +--- dist/configure.orig Wed Nov 2 23:52:52 2016 ++++ dist/configure Wed Nov 2 23:57:56 2016 +@@ -7683,7 +7683,7 @@ + lt_cv_sys_max_cmd_len=8192; + ;; + +- netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) ++ minix* | netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` +@@ -8175,7 +8175,7 @@ + lt_cv_deplibs_check_method=pass_all + ;; + +-netbsd*) ++minix* | netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + else +@@ -11790,7 +11790,7 @@ + fi + ;; + +- netbsd*) ++ minix* | netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= +@@ -12423,7 +12423,7 @@ + link_all_deplibs=yes + ;; + +- netbsd*) ++ minix* | netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else +@@ -13459,6 +13459,18 @@ + dynamic_linker='GNU/Linux ld.so' + ;; + ++minix*) ++ version_type=sunos ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ dynamic_linker='NetBSD ld.elf_so' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=yes ++ hardcode_into_libs=yes ++ ;; ++ + netbsd*) + version_type=sunos + need_lib_prefix=no +@@ -15535,7 +15547,7 @@ + esac + ;; + +- netbsd*) ++ minix* | netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= +@@ -16293,7 +16305,7 @@ + ;; + esac + ;; +- netbsd*) ++ minix* | netbsd*) + ;; + *qnx* | *nto*) + # QNX uses GNU C++, but need to define -shared option too, otherwise +@@ -17290,6 +17302,18 @@ + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' ++ ;; ++ ++minix*) ++ version_type=sunos ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ dynamic_linker='NetBSD ld.elf_so' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=yes ++ hardcode_into_libs=yes + ;; + + netbsd*)