From e8bfb6cadcff136247b6843ae5a73a452afff4f1 Mon Sep 17 00:00:00 2001 From: wrobell Date: Tue, 19 Nov 2002 10:35:44 +0000 Subject: [PATCH] - added patch to disable O_DIRECT flag testing (O_DIRECT is silently ignored by 2.2.x kernels, so db will not work on 2.4.x, which returns EINVAL on read/write) - rel. 4 Changed files: db.spec -> 1.7 --- db.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/db.spec b/db.spec index afdc863..889b7d3 100644 --- a/db.spec +++ b/db.spec @@ -2,7 +2,7 @@ Summary: BSD database library for C Summary(pl): Biblioteka C do obsĀ³ugi baz Berkeley DB Name: db Version: 4.1.24 -Release: 3.1 +Release: 4 License: GPL Group: Libraries Source0: http://www.berkeleydb.com/update/snapshot/%{name}-%{version}.tar.gz @@ -12,6 +12,7 @@ Patch2: http://www.sleepycat.com/update/4.1.24/patch.4.1.24.3 Patch3: http://www.sleepycat.com/update/4.1.24/patch.4.1.24.4 Patch4: http://www.sleepycat.com/update/4.1.24/patch.4.1.24.5 Patch5: http://www.sleepycat.com/update/4.1.24/patch.4.1.24.6 +Patch6: %{name}-o_direct.patch URL: http://www.berkeleydb.com/ %{?_with_java:BuildRequires: jdk} BuildRequires: tcl-devel >= 8.3.2 @@ -163,9 +164,14 @@ u %patch3 -p0 %patch4 -p0 %patch5 -p0 +%patch6 -p1 %build +cd dist +sh s_config +cd .. + cp -a build_unix build_unix.static cd build_unix.static -- 2.44.0