aboutsummaryrefslogtreecommitdiffstats
path: root/community/mongodb/fix-asio-strerror_r.patch
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2018-01-02 11:20:46 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-01-04 07:06:40 +0000
commite94cb28568e3712b39d5d37f37c5cc8b2bf32f0a (patch)
tree83becb8e23a0e12d4578312074a9df049db58e92 /community/mongodb/fix-asio-strerror_r.patch
parentbca8323793a4c8ddfdb1f7f865cbfa62e93056aa (diff)
downloadaports-e94cb28568e3712b39d5d37f37c5cc8b2bf32f0a.tar.bz2
aports-e94cb28568e3712b39d5d37f37c5cc8b2bf32f0a.tar.xz
community/mongodb: upgrade to 3.6.1
Diffstat (limited to 'community/mongodb/fix-asio-strerror_r.patch')
-rw-r--r--community/mongodb/fix-asio-strerror_r.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/community/mongodb/fix-asio-strerror_r.patch b/community/mongodb/fix-asio-strerror_r.patch
deleted file mode 100644
index f2fe5cb1eb..0000000000
--- a/community/mongodb/fix-asio-strerror_r.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-https://github.com/chriskohlhoff/asio/issues/94
-
-diff --git a/src/third_party/asio-asio-1-11-0/asio/include/asio/impl/error_code.ipp b/src/third_party/asio-asio-1-11-0/asio/include/asio/impl/error_code.ipp
-index 4e7badb..0eeae88 100644
---- a/src/third_party/asio-asio-1-11-0/asio/include/asio/impl/error_code.ipp
-+++ b/src/third_party/asio-asio-1-11-0/asio/include/asio/impl/error_code.ipp
-@@ -97,17 +97,14 @@ public:
- #if defined(__sun) || defined(__QNX__) || defined(__SYMBIAN32__)
- using namespace std;
- return strerror(value);
--#elif defined(__MACH__) && defined(__APPLE__) \
-- || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) \
-- || defined(_AIX) || defined(__hpux) || defined(__osf__) \
-- || defined(__ANDROID__)
-+#elif defined(__GLIBC__) && defined(_GNU_SOURCE)
-+ char buf[256] = "";
-+ return strerror_r(value, buf, sizeof(buf));
-+#else
- char buf[256] = "";
- using namespace std;
- strerror_r(value, buf, sizeof(buf));
- return buf;
--#else
-- char buf[256] = "";
-- return strerror_r(value, buf, sizeof(buf));
- #endif
- #endif // defined(ASIO_WINDOWS)
- }