aports/testing/mongodb/wiredtiger-strtouq.patch
Marc Vertes 511d407ad2 testing/mongodb: Fix #5188 where mongod crashes at db.dropDatabase().
>From the error log, it seems this is a problem due to wiredtiger.
The problem does not occure if using internal engine.
Ensure mongodb is using internal provided wiredtiger engine instead of
system one. An additional patch to avoid strtouq is needed.
2016-03-02 12:39:21 +00:00

12 lines
424 B
Diff

--- mongodb-src-r3.2.3/src/third_party/wiredtiger/build_linux/wiredtiger_config.h.orig
+++ mongodb-src-r3.2.3/src/third_party/wiredtiger/build_linux/wiredtiger_config.h
@@ -101,7 +101,7 @@
#define HAVE_STRING_H 1
/* Define to 1 if you have the `strtouq' function. */
-#define HAVE_STRTOUQ 1
+/* #undef HAVE_STRTOUQ 1 */
/* Define to 1 if you have the `sync_file_range' function. */
/* #undef HAVE_SYNC_FILE_RANGE */