summaryrefslogtreecommitdiffstats
path: root/source/l/lmdb/lmdb-s390-check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/lmdb/lmdb-s390-check.patch')
-rw-r--r--source/l/lmdb/lmdb-s390-check.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/source/l/lmdb/lmdb-s390-check.patch b/source/l/lmdb/lmdb-s390-check.patch
new file mode 100644
index 000000000..2922ec67b
--- /dev/null
+++ b/source/l/lmdb/lmdb-s390-check.patch
@@ -0,0 +1,14 @@
+# The s390 architecture needs a pause before accessing the test DB.
+
+diff -up lmdb-LMDB_0.9.17/libraries/liblmdb/Makefile.orig lmdb-LMDB_0.9.17/libraries/liblmdb/Makefile
+--- lmdb-LMDB_0.9.17/libraries/liblmdb/Makefile.orig 2015-12-03 09:21:35.621480706 +0100
++++ lmdb-LMDB_0.9.17/libraries/liblmdb/Makefile 2015-12-03 09:22:10.069644210 +0100
+@@ -57,7 +57,7 @@ clean:
+
+ test: all
+ rm -rf testdb && mkdir testdb
+- ./mtest && ./mdb_stat testdb
++ ./mtest && sleep 1 && ./mdb_stat testdb
+
+ liblmdb.a: mdb.o midl.o
+ $(AR) rs $@ mdb.o midl.o