summaryrefslogtreecommitdiff
path: root/package/rpm/rpm-5.2.0_ignore-shared-mutexes.patch
diff options
context:
space:
mode:
authorNigel Kukard <nkukard@lbsd.net>2009-12-25 10:29:22 +0000
committerNigel Kukard <nkukard@lbsd.net>2009-12-25 10:29:22 +0000
commitf16a9799b65214ffe1b07372676386e31ad51801 (patch)
tree623250fb62f9e58c5f1f7306965c944e6870172e /package/rpm/rpm-5.2.0_ignore-shared-mutexes.patch
parent9400c73582326c543fae82120af3904836145655 (diff)
Bumped rpm
Diffstat (limited to 'package/rpm/rpm-5.2.0_ignore-shared-mutexes.patch')
-rw-r--r--package/rpm/rpm-5.2.0_ignore-shared-mutexes.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/rpm/rpm-5.2.0_ignore-shared-mutexes.patch b/package/rpm/rpm-5.2.0_ignore-shared-mutexes.patch
new file mode 100644
index 000000000..f19d6b6f3
--- /dev/null
+++ b/package/rpm/rpm-5.2.0_ignore-shared-mutexes.patch
@@ -0,0 +1,12 @@
+diff -ru rpm-5.2.0_vanilla/db/env/env_open.c rpm-5.2.0_test/db/env/env_open.c
+--- rpm-5.2.0_vanilla/db/env/env_open.c 2008-05-28 01:23:27.000000000 +0000
++++ rpm-5.2.0_test/db/env/env_open.c 2009-12-24 14:54:55.000000000 +0000
+@@ -124,7 +124,7 @@
+ }
+ }
+
+-#ifdef HAVE_MUTEX_THREAD_ONLY
++#ifdef NK_HAVE_MUTEX_THREAD_ONLY
+ /*
+ * Currently we support one kind of mutex that is intra-process only,
+ * POSIX 1003.1 pthreads, because a variety of systems don't support