OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 23-Sep-2005 18:47:36
Branch: HEAD Handle: 2005092317473600
Modified files:
openpkg-src/sqlite sqlite.patch sqlite.spec
Log:
change logic from not-FreeBSD to Linux as others have no fdatasync(3),
too
Summary:
Revision Changes Path
1.8 +2 -2 openpkg-src/sqlite/sqlite.patch
1.99 +1 -1 openpkg-src/sqlite/sqlite.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/sqlite/sqlite.patch
============================================================================
$ cvs diff -u -r1.7 -r1.8 sqlite.patch
--- openpkg-src/sqlite/sqlite.patch 21 Sep 2005 18:34:20 -0000 1.7
+++ openpkg-src/sqlite/sqlite.patch 23 Sep 2005 16:47:36 -0000 1.8
@@ -19,13 +19,13 @@
if( rc ) rc = fsync(fd);
#else
-+#if !defined(__FreeBSD__)
++#if defined(__linux__)
if( dataOnly ){
rc = fdatasync(fd);
}else{
+#endif
rc = fsync(fd);
-+#if !defined(__FreeBSD__)
++#if defined(__linux__)
}
+#endif
#endif /* defined(F_FULLFSYNC) */
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/sqlite/sqlite.spec
============================================================================
$ cvs diff -u -r1.98 -r1.99 sqlite.spec
--- openpkg-src/sqlite/sqlite.spec 21 Sep 2005 18:36:40 -0000 1.98
+++ openpkg-src/sqlite/sqlite.spec 23 Sep 2005 16:47:36 -0000 1.99
@@ -37,7 +37,7 @@
Group: Database
License: PD
Version: %{V_v3}
-Release: 20050921
+Release: 20050923
# package options
%option with_v2 yes
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]