Browse Source

upgrading package: db 4.3.29.0 -> 4.4.16.0

master
parent
commit
93b7adea74
  1. 18
      db/db.patch
  2. 8
      db/db.spec

18
db/db.patch

@ -1,28 +1,28 @@
Index: mutex/mut_fcntl.c
--- mutex/mut_fcntl.c.orig 2004-01-28 04:36:18 +0100
+++ mutex/mut_fcntl.c 2004-11-11 20:04:31 +0100
@@ -99,7 +99,7 @@
--- mutex/mut_fcntl.c.orig 2005-11-01 15:49:05 +0100
+++ mutex/mut_fcntl.c 2005-11-20 09:49:05 +0100
@@ -88,7 +88,7 @@
/* Acquire an exclusive kernel lock. */
k_lock.l_type = F_WRLCK;
- if (fcntl(dbenv->lockfhp->fd, F_SETLKW, &k_lock))
+ if (fcntl(dbenv->lockfhp->fd, F_SETLKW, &k_lock) == -1)
return (__os_get_errno());
goto err;
/* If the resource is still available, it's ours. */
@@ -110,7 +110,7 @@
@@ -102,7 +102,7 @@
/* Release the kernel lock. */
k_lock.l_type = F_UNLCK;
- if (fcntl(dbenv->lockfhp->fd, F_SETLK, &k_lock))
+ if (fcntl(dbenv->lockfhp->fd, F_SETLK, &k_lock) == -1)
return (__os_get_errno());
goto err;
/*
Index: os/os_open.c
--- os/os_open.c.orig 2004-09-28 18:46:57 +0200
+++ os/os_open.c 2004-11-11 20:04:31 +0100
@@ -121,7 +121,7 @@
--- os/os_open.c.orig 2005-10-31 19:24:50 +0100
+++ os/os_open.c 2005-11-20 09:48:27 +0100
@@ -119,7 +119,7 @@
if (LF_ISSET(DB_OSO_EXCL))
oflags |= O_EXCL;

8
db/db.spec

@ -23,7 +23,7 @@
##
# package version
%define V_version 4.3.29
%define V_version 4.4.16
%define V_revision 0
# package information
@ -37,7 +37,7 @@ Class: BASE
Group: Database
License: BSD
Version: %{V_version}.%{V_revision}
Release: 20051001
Release: 20051120
# package options
%option with_compat no
@ -67,13 +67,13 @@ AutoReqProv: no
%track
prog db = {
version = %{V_version}
url = http://www.sleepycat.com/download/db/index.shtml
url = http://dev.sleepycat.com/downloads/latestreleases.html
regex = db-(__VER__)\.tar\.gz
}
prog db:patch = {
comment = "thl: change tracking from hardcode to variable once a patch is available"
version = 4.3.28
url = http://www.sleepycat.com/download/db/index.shtml
url = http://dev.sleepycat.com/downloads/latestreleases.html
regex = patch\.(__VER__\.\d+)\.html
}

Loading…
Cancel
Save