aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/mongodb/uclibc-libc-version.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/mongodb/uclibc-libc-version.patch')
-rw-r--r--unmaintained/mongodb/uclibc-libc-version.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/unmaintained/mongodb/uclibc-libc-version.patch b/unmaintained/mongodb/uclibc-libc-version.patch
new file mode 100644
index 0000000000..a8d32daa97
--- /dev/null
+++ b/unmaintained/mongodb/uclibc-libc-version.patch
@@ -0,0 +1,14 @@
+--- ./src/mongo/util/processinfo_linux2.cpp.orig 2013-06-10 19:46:43.082371900 +0000
++++ ./src/mongo/util/processinfo_linux2.cpp 2013-06-10 20:01:45.581386405 +0000
+@@ -20,7 +20,11 @@
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <sys/mman.h>
++#if defined(__UCLIBC__)
++#define gnu_get_libc_version(x) "uClibc"
++#else
+ #include <gnu/libc-version.h>
++#endif
+ #include <sys/utsname.h>
+
+ #include "processinfo.h"