aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rocksdb/20-skip-glibc-specific-features.patch
diff options
context:
space:
mode:
authorJames Bowes <jbowes@repl.ca>2016-02-15 16:40:24 -0400
committerTimo Teräs <timo.teras@iki.fi>2016-02-22 14:24:03 +0000
commit7ac7e0c24e77c4b11ee02fe92537c5ce3fd2cf65 (patch)
tree7342345830bf0af5a86ca48a2e1843a6a8322675 /testing/rocksdb/20-skip-glibc-specific-features.patch
parent0b87fe1b7d417dad80a48b3d7743c37cf47cb943 (diff)
downloadaports-7ac7e0c24e77c4b11ee02fe92537c5ce3fd2cf65.tar.bz2
aports-7ac7e0c24e77c4b11ee02fe92537c5ce3fd2cf65.tar.xz
testing/rocksdb: new aport
http://rocksdb.org A persistent key-value store for fast storage environments
Diffstat (limited to 'testing/rocksdb/20-skip-glibc-specific-features.patch')
-rw-r--r--testing/rocksdb/20-skip-glibc-specific-features.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/rocksdb/20-skip-glibc-specific-features.patch b/testing/rocksdb/20-skip-glibc-specific-features.patch
new file mode 100644
index 0000000000..b331a42e2d
--- /dev/null
+++ b/testing/rocksdb/20-skip-glibc-specific-features.patch
@@ -0,0 +1,23 @@
+--- a/port/port_posix.cc
++++ b/port/port_posix.cc
+@@ -32,7 +32,7 @@ static int PthreadCall(const char* label, int result) {
+ }
+
+ Mutex::Mutex(bool adaptive) {
+-#ifdef OS_LINUX
++#if 0
+ if (!adaptive) {
+ PthreadCall("init mutex", pthread_mutex_init(&mu_, nullptr));
+ } else {
+--- a/port/stack_trace.cc
++++ b/port/stack_trace.cc
+@@ -5,8 +5,7 @@
+ //
+ #include "port/stack_trace.h"
+
+-#if defined(ROCKSDB_LITE) || !(defined(OS_LINUX) || defined(OS_MACOSX)) || \
+- defined(CYGWIN)
++#if 1
+
+ // noop
+