OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 29-Apr-2004 11:37:59
Branch: HEAD Handle: 2004042910375800
Modified files:
openpkg-src/db db.patch db.spec
Log:
replace Tru64 hack with a more general solution which removed the
Pthread API dependency at all by using UNIX/fcntl as the default and
for speed optimization reasons try to use assembly code on some
architectures
Summary:
Revision Changes Path
1.5 +0 -12 openpkg-src/db/db.patch
1.45 +8 -2 openpkg-src/db/db.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/db/db.patch
============================================================================
$ cvs diff -u -r1.4 -r1.5 db.patch
--- openpkg-src/db/db.patch 26 Apr 2004 08:59:43 -0000 1.4
+++ openpkg-src/db/db.patch 29 Apr 2004 09:37:58 -0000 1.5
@@ -31,15 +31,3 @@
if (LF_ISSET(DB_OSO_DIRECT))
oflags |= O_DIRECT;
#endif
-Index: dist/configure
---- dist/configure.orig 2003-12-03 22:10:02.000000000 +0100
-+++ dist/configure 2004-04-26 10:58:16.000000000 +0200
-@@ -3504,7 +3504,7 @@
- CPPFLAGS="$CPPFLAGS -D_SGI_MP_SOURCE";;
- mpeix*) CPPFLAGS="$CPPFLAGS -D_POSIX_SOURCE -D_SOCKET_SOURCE"
- LIBS="$LIBS -lsocket -lsvipc";;
--osf*) CPPFLAGS="$CPPFLAGS -pthread";;
-+osf*) CPPFLAGS="$CPPFLAGS -pthread"; LDFLAGS="$LDFLAGS -pthread";;
- *qnx*) cat >>confdefs.h <<\_ACEOF
- #define HAVE_QNX 1
- _ACEOF
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/db/db.spec
============================================================================
$ cvs diff -u -r1.44 -r1.45 db.spec
--- openpkg-src/db/db.spec 26 Apr 2004 08:59:43 -0000 1.44
+++ openpkg-src/db/db.spec 29 Apr 2004 09:37:58 -0000 1.45
@@ -38,7 +38,7 @@
Group: Database
License: BSD
Version: %{V_version}.%{V_revision}
-Release: 20040426
+Release: 20040429
# package options
%option with_compat no
@@ -90,7 +90,13 @@
%build
mutex="no"
case "%{l_platform -p}" in
- ix86-* ) mutex="x86/gcc-assembly" ;;
+ ix86-* ) mutex="x86/gcc-assembly" ;;
+ ia64-* ) mutex="ia64/gcc-assembly" ;;
+ sparc*-* ) mutex="Sparc/gcc-assembly" ;;
+ hppa*-* ) mutex="HPPA/gcc-assembly" ;;
+ ppc*-* ) mutex="PPC/gcc-assembly" ;;
+ alpha*-* ) mutex="ALPHA/gcc-assembly" ;;
+ * ) mutex="UNIX/fcntl" ;;
esac
cd build_unix
CC="%{l_cc}" \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]