aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/mongodb/uclibc-libc-version.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-10-28 15:48:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-10-28 15:48:23 +0000
commit74ff2b35c9d2afbd9fab439d0055f5b66b386ad9 (patch)
treef8cd0d5c638de4ae4e3f26d597c04ad7fabfc1a2 /unmaintained/mongodb/uclibc-libc-version.patch
parente11a0b3bd993f05d269be00a893730d30a06e6b6 (diff)
downloadaports-74ff2b35c9d2afbd9fab439d0055f5b66b386ad9.tar.bz2
aports-74ff2b35c9d2afbd9fab439d0055f5b66b386ad9.tar.xz
testing/mongodb: move to unmaintained does not build
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"