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-log.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-log.patch')
-rw-r--r-- | testing/mongodb/fix-log.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/mongodb/fix-log.patch b/testing/mongodb/fix-log.patch new file mode 100644 index 0000000000..e7bc8bef5d --- /dev/null +++ b/testing/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 | |