summaryrefslogtreecommitdiff
path: root/databases/db4/patches
diff options
context:
space:
mode:
authortron <tron>2008-09-07 13:35:17 +0000
committertron <tron>2008-09-07 13:35:17 +0000
commit4761af249e3d02054a1ff5fcc0ee3ff630d740f2 (patch)
tree0913b441cf13f464545d3ccb4901ee2375316fa6 /databases/db4/patches
parentd5fc54619af372ac56b92b2b3653ba91d03a4a00 (diff)
downloadpkgsrc-4761af249e3d02054a1ff5fcc0ee3ff630d740f2.tar.gz
Correct broken compatibility code. This should fix PR pkg/39499.
Diffstat (limited to 'databases/db4/patches')
-rw-r--r--databases/db4/patches/patch-ad13
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/db4/patches/patch-ad b/databases/db4/patches/patch-ad
new file mode 100644
index 00000000000..4afdfc8bc84
--- /dev/null
+++ b/databases/db4/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.4 2008/09/07 13:35:17 tron Exp $
+
+--- os/os_yield.c.orig 2008-01-08 20:58:43.000000000 +0000
++++ os/os_yield.c 2008-09-07 14:27:08.000000000 +0100
+@@ -58,7 +58,7 @@
+ #elif defined(HAVE_YIELD)
+ yield();
+ #else
+- __os_sleep(dbenv, 0, 0);
++ __os_sleep(env, 0, 0);
+ #endif
+ }
+ }