summaryrefslogtreecommitdiff
path: root/package/rpm/rpm-5.2.0_ignore-shared-mutexes.patch
diff options
context:
space:
mode:
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