diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-libs/libmicrohttpd/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/libmicrohttpd/files')
-rw-r--r-- | net-libs/libmicrohttpd/files/libmicrohttpd-0.9.53-fix-build-without-epoll.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-libs/libmicrohttpd/files/libmicrohttpd-0.9.53-fix-build-without-epoll.patch b/net-libs/libmicrohttpd/files/libmicrohttpd-0.9.53-fix-build-without-epoll.patch new file mode 100644 index 000000000000..ff27c26e3e6d --- /dev/null +++ b/net-libs/libmicrohttpd/files/libmicrohttpd-0.9.53-fix-build-without-epoll.patch @@ -0,0 +1,21 @@ +commit 01df8861c19a203cea9ef26570893c2b9c0e48b2 +Author: Evgeny Grin (Karlson2k) <k2k@narod.ru> +Date: Wed Apr 12 21:11:28 2017 +0300 + + Fixed GNU/Linux builds without epoll + +diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c +index 49a1b82..02713e3 100644 +--- a/src/microhttpd/daemon.c ++++ b/src/microhttpd/daemon.c +@@ -2251,8 +2251,10 @@ send_param_adapter (struct MHD_Connection *connection, + if (0 < ret) + { + /* write successful */ ++#ifdef EPOLL_SUPPORT + if (left > (uint64_t)ret) + connection->epoll_state &= ~MHD_EPOLL_STATE_WRITE_READY; ++#endif /* EPOLL_SUPPORT */ + return ret; + } + err = MHD_socket_get_error_(); |