diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-04-21 14:15:59 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-04-21 14:44:37 +0000 |
commit | a86740d743de969471c628c71c75d6d6678ca12c (patch) | |
tree | 3413d775d1ecfdebafae7d19b6ca6232aa1dc838 /community/mongodb/fix-processinfo_linux.patch | |
parent | 24bfdd2da0799ef4557fdc3588a701fcc0f6c8ee (diff) | |
download | aports-a86740d743de969471c628c71c75d6d6678ca12c.tar.bz2 aports-a86740d743de969471c628c71c75d6d6678ca12c.tar.xz |
community/mongodb: moved from testing
Diffstat (limited to 'community/mongodb/fix-processinfo_linux.patch')
-rw-r--r-- | community/mongodb/fix-processinfo_linux.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/mongodb/fix-processinfo_linux.patch b/community/mongodb/fix-processinfo_linux.patch new file mode 100644 index 0000000000..0c07fa4c81 --- /dev/null +++ b/community/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); |