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-log.patch | |
parent | 24bfdd2da0799ef4557fdc3588a701fcc0f6c8ee (diff) | |
download | aports-a86740d743de969471c628c71c75d6d6678ca12c.tar.bz2 aports-a86740d743de969471c628c71c75d6d6678ca12c.tar.xz |
community/mongodb: moved from testing
Diffstat (limited to 'community/mongodb/fix-log.patch')
-rw-r--r-- | community/mongodb/fix-log.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/mongodb/fix-log.patch b/community/mongodb/fix-log.patch new file mode 100644 index 0000000000..e7bc8bef5d --- /dev/null +++ b/community/mongodb/fix-log.patch @@ -0,0 +1,13 @@ +--- a/src/mongo/util/log.cpp ++++ b/src/mongo/util/log.cpp +@@ -101,9 +101,7 @@ + char buf[kBuflen]; + char* msg{nullptr}; + +-#if defined(__GNUC__) && defined(_GNU_SOURCE) +- msg = strerror_r(errNumber, buf, kBuflen); +-#elif defined(_WIN32) ++#if defined(_WIN32) + + LPWSTR errorText = nullptr; + FormatMessageW(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ALLOCATE_BUFFER | |