diff options
| author | Marc Vertes <mvertes@free.fr> | 2018-07-19 02:06:54 +0200 |
|---|---|---|
| committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-07-20 09:12:47 +0000 |
| commit | e7fe48c47dd7a60d756cc22e8f05f8b965c4befe (patch) | |
| tree | 1f2caf7543674036b18ca869d7ea5bf414ff0698 /community/mongodb/fix-strerror_r.patch | |
| parent | ff883f45ffe12a959eed9945ebe57ff969754c40 (diff) | |
| download | aports-e7fe48c47dd7a60d756cc22e8f05f8b965c4befe.tar.bz2 aports-e7fe48c47dd7a60d756cc22e8f05f8b965c4befe.tar.xz | |
community/mongodb: upgrade to 4.0.0
Diffstat (limited to 'community/mongodb/fix-strerror_r.patch')
| -rw-r--r-- | community/mongodb/fix-strerror_r.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/community/mongodb/fix-strerror_r.patch b/community/mongodb/fix-strerror_r.patch index 3dd19b3821..172c7fefac 100644 --- a/community/mongodb/fix-strerror_r.patch +++ b/community/mongodb/fix-strerror_r.patch @@ -1,10 +1,10 @@ ---- mongodb-src-r3.6.1/src/mongo/util/errno_util.cpp.orig -+++ mongodb-src-r3.6.1/src/mongo/util/errno_util.cpp +--- mongodb-src-r4.0.0/src/mongo/util/errno_util.cpp.orig ++++ mongodb-src-r4.0.0/src/mongo/util/errno_util.cpp @@ -58,9 +58,7 @@ char buf[kBuflen]; char* msg{nullptr}; --#if defined(__GNUC__) && defined(_GNU_SOURCE) +-#if defined(__GNUC__) && defined(_GNU_SOURCE) && (__ANDROID_API__ > 22) - msg = strerror_r(errNumber, buf, kBuflen); -#elif defined(_WIN32) +#if defined(_WIN32) |
