mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Promote version upgrades for x86 and x86_64.
This commit is contained in:
@@ -9,8 +9,8 @@ CHECKSUM_SIZE="36584356"
|
||||
CHECKSUM_MD5="ad28eb86ad3203b5422844db179c585b"
|
||||
CHECKSUM_SHA512="ea249c59dba18cad391f523840028ba8ef962c32f2c7470942d52f9c07f18ba9fdf964dcd545cb7f2d6c66b91924a0ba1478af1d8f81f0dcbbf94c97ac515cf9"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
|
||||
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86_gcc2 x86"
|
||||
LICENSE="SleepyCat"
|
||||
COPYRIGHT="1990-2013, Oracle
|
||||
1990-1995, The Regents of the University of California
|
||||
|
||||
79
dev-db/db/patches/db-6.0.30.patch
Normal file
79
dev-db/db/patches/db-6.0.30.patch
Normal file
@@ -0,0 +1,79 @@
|
||||
diff --git a/dist/Makefile.in b/dist/Makefile.in
|
||||
index e90c0c2..60f8aef 100644
|
||||
--- a/dist/Makefile.in
|
||||
+++ b/dist/Makefile.in
|
||||
@@ -17,7 +17,7 @@ exec_prefix=@exec_prefix@
|
||||
bindir= @bindir@
|
||||
includedir=@includedir@
|
||||
libdir= @libdir@
|
||||
-docdir= $(prefix)/docs
|
||||
+docdir= @docdir@
|
||||
|
||||
dmode= 755
|
||||
emode= 555
|
||||
diff --git a/dist/configure b/dist/configure
|
||||
index 32b2c66..5d1ed9a 100755
|
||||
--- a/dist/configure
|
||||
+++ b/dist/configure
|
||||
@@ -5122,6 +5122,8 @@ irix*) optimize_flag="-O2"
|
||||
CPPFLAGS="$CPPFLAGS -D_SGI_MP_SOURCE";;
|
||||
mpeix*) CPPFLAGS="$CPPFLAGS -D_POSIX_SOURCE -D_SOCKET_SOURCE"
|
||||
LIBSO_LIBS="$LIBSO_LIBS -lsocket -lsvipc";;
|
||||
+haiku*)
|
||||
+ LIBSO_LIBS="$LIBSO_LIBS -lnetwork";;
|
||||
osf*) CPPFLAGS="$CPPFLAGS -pthread";;
|
||||
*qnx*) qnx_build="yes"
|
||||
$as_echo "#define HAVE_QNX 1" >>confdefs.h
|
||||
diff --git a/dist/configure.ac b/dist/configure.ac
|
||||
index 689f3b8..d5d5125 100644
|
||||
--- a/dist/configure.ac
|
||||
+++ b/dist/configure.ac
|
||||
@@ -206,6 +206,8 @@ irix*) optimize_flag="-O2"
|
||||
CPPFLAGS="$CPPFLAGS -D_SGI_MP_SOURCE";;
|
||||
mpeix*) CPPFLAGS="$CPPFLAGS -D_POSIX_SOURCE -D_SOCKET_SOURCE"
|
||||
LIBSO_LIBS="$LIBSO_LIBS -lsocket -lsvipc";;
|
||||
+haiku*)
|
||||
+ LIBSO_LIBS="$LIBSO_LIBS -lnetwork";;
|
||||
osf*) CPPFLAGS="$CPPFLAGS -pthread";;
|
||||
*qnx*) qnx_build="yes"
|
||||
AC_DEFINE(HAVE_QNX)
|
||||
@@ -671,6 +673,9 @@ AC_SEARCH_LIBS(sched_yield, rt)
|
||||
# The Berkeley DB library calls fdatasync, only available in -lrt on Solaris.
|
||||
AC_SEARCH_LIBS(fdatasync, rt)
|
||||
|
||||
+# Socket only available in -lnetwork on Haiku
|
||||
+AC_SEARCH_LIBS(socket, network)
|
||||
+
|
||||
AC_SEARCH_LIBS(getaddrinfo, nsl socket)
|
||||
AC_SEARCH_LIBS(hstrerror, resolv)
|
||||
|
||||
diff --git a/src/repmgr/repmgr_posix.c b/src/repmgr/repmgr_posix.c
|
||||
index f803863..e2b93f6 100644
|
||||
--- a/src/repmgr/repmgr_posix.c
|
||||
+++ b/src/repmgr/repmgr_posix.c
|
||||
@@ -571,11 +571,7 @@ __repmgr_wake_main_thread(env)
|
||||
* PUBLIC: int __repmgr_writev __P((socket_t, db_iovec_t *, int, size_t *));
|
||||
*/
|
||||
int
|
||||
-__repmgr_writev(fd, iovec, buf_count, byte_count_p)
|
||||
- socket_t fd;
|
||||
- db_iovec_t *iovec;
|
||||
- int buf_count;
|
||||
- size_t *byte_count_p;
|
||||
+__repmgr_writev(socket_t fd, db_iovec_t *iovec, int buf_count, size_t *byte_count_p)
|
||||
{
|
||||
int nw, result;
|
||||
|
||||
@@ -593,11 +589,7 @@ __repmgr_writev(fd, iovec, buf_count, byte_count_p)
|
||||
* PUBLIC: int __repmgr_readv __P((socket_t, db_iovec_t *, int, size_t *));
|
||||
*/
|
||||
int
|
||||
-__repmgr_readv(fd, iovec, buf_count, byte_count_p)
|
||||
- socket_t fd;
|
||||
- db_iovec_t *iovec;
|
||||
- int buf_count;
|
||||
- size_t *byte_count_p;
|
||||
+__repmgr_readv(socket_t fd, db_iovec_t *iovec, int buf_count, size_t *byte_count_p)
|
||||
{
|
||||
int result;
|
||||
ssize_t nw;
|
||||
Reference in New Issue
Block a user