diff options
author | Marc Vertes <mvertes@free.fr> | 2017-04-16 18:58:26 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-04-17 14:54:33 +0000 |
commit | 06f0c435630c31ce1ffab1f75ffac52986be4923 (patch) | |
tree | 0b8c8c8a7264eaaec8c11acf997ecb95ec2876e1 /testing/mongodb/fix-processinfo_linux.patch | |
parent | b01afbe87f1e1efcf3a79f993c10fca6852a5b0e (diff) | |
download | aports-06f0c435630c31ce1ffab1f75ffac52986be4923.tar.bz2 aports-06f0c435630c31ce1ffab1f75ffac52986be4923.tar.xz |
testing/mongodb: upgrade to version 3.4.3
Diffstat (limited to 'testing/mongodb/fix-processinfo_linux.patch')
-rw-r--r-- | testing/mongodb/fix-processinfo_linux.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/mongodb/fix-processinfo_linux.patch b/testing/mongodb/fix-processinfo_linux.patch new file mode 100644 index 0000000000..0c07fa4c81 --- /dev/null +++ b/testing/mongodb/fix-processinfo_linux.patch @@ -0,0 +1,33 @@ +--- a/src/mongo/util/processinfo_linux.cpp ++++ b/src/mongo/util/processinfo_linux.cpp +@@ -40,11 +40,11 @@ + #include <sys/mman.h> + #include <sys/utsname.h> + #include <unistd.h> +-#ifdef __UCLIBC__ ++//#ifdef __UCLIBC__ + #include <features.h> +-#else +-#include <gnu/libc-version.h> +-#endif ++//#else ++//#include <gnu/libc-version.h> ++//#endif + + #include <boost/filesystem.hpp> + #include <boost/none.hpp> +@@ -487,13 +487,9 @@ + + BSONObjBuilder bExtra; + bExtra.append("versionString", LinuxSysHelper::readLineFromFile("/proc/version")); +-#ifdef __UCLIBC__ + stringstream ss; +- ss << "uClibc-" << __UCLIBC_MAJOR__ << "." << __UCLIBC_MINOR__ << "." << __UCLIBC_SUBLEVEL__; ++ ss << "musl-1.1.16"; + bExtra.append("libcVersion", ss.str()); +-#else +- bExtra.append("libcVersion", gnu_get_libc_version()); +-#endif + if (!verSig.empty()) + // optional + bExtra.append("versionSignature", verSig); |