diff options
author | Filipp Andronov <filipp.andronov@gmail.com> | 2015-05-16 21:43:04 +0700 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2015-06-27 20:36:57 +0200 |
commit | 11de19231cd990e2700f20635f3413f8d2be3016 (patch) | |
tree | fe20a325ab539873980542185d8233ada2b192a9 /testing/mongodb/10-fix-poll-h.patch | |
parent | fe594b5019dc0a4d2abd0e30a61d4f695e9737c8 (diff) | |
download | aports-11de19231cd990e2700f20635f3413f8d2be3016.tar.bz2 aports-11de19231cd990e2700f20635f3413f8d2be3016.tar.xz |
testing/mongodb: new aport
Things to be complete:
1. Build is only for x86_64, because I have to made a few hacks in code.
Most critical one is __ELF_NATIVE_CLASS
2. No tc-malloc. It doesnt build, so system allocator instead. Im working
on gpreftools package...
3. No heap usage statistics: always returns 0. It is broken in mongodb for
64bit architecture and also musl mallocinfo is not compatible with glibc.
So I just comment out heap reporting code, see comments in APKBUILD
4. Use more system libs, yaml & boost are from the top of my mind. Boost
make compilation fails, but should be easy to fix
5. Enable mongodb tests during build. Im just not sure how that should be
done in Alpine, i.e _where_ in build lifecycle tests should run
Diffstat (limited to 'testing/mongodb/10-fix-poll-h.patch')
-rw-r--r-- | testing/mongodb/10-fix-poll-h.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/mongodb/10-fix-poll-h.patch b/testing/mongodb/10-fix-poll-h.patch new file mode 100644 index 0000000000..0ef14f4fed --- /dev/null +++ b/testing/mongodb/10-fix-poll-h.patch @@ -0,0 +1,11 @@ +--- orig/mongodb-src-r3.0.2/src/mongo/util/net/socket_poll.h ++++ mongodb-src-r3.0.2/src/mongo/util/net/socket_poll.h +@@ -29,7 +29,7 @@ + #pragma once + + #ifndef _WIN32 +-# include <sys/poll.h> ++# include <poll.h> + #else + # if defined(NTDDI_VERSION) && ( !defined(NTDDI_VISTA) || ( NTDDI_VERSION < NTDDI_VISTA ) ) + // These are only defined in winsock2.h on newer windows but we need them everywhere. |