void-packages/srcpkgs/mariadb/patches/poll-h.patch

36 lines
1.0 KiB
Diff

--- ./libmysql/libmysql.c.orig 2015-09-19 22:16:15.039454684 -0400
+++ ./libmysql/libmysql.c 2015-09-19 22:16:44.841455027 -0400
@@ -48,7 +48,7 @@
#endif
#endif /* !defined(__WIN__) */
#ifdef HAVE_POLL
-#include <sys/poll.h>
+#include <poll.h>
#endif
#ifdef HAVE_SYS_UN_H
#include <sys/un.h>
--- ./include/my_net.h.orig 2015-09-19 22:18:14.641456059 -0400
+++ ./include/my_net.h 2015-09-19 22:18:29.871456234 -0400
@@ -37,7 +37,7 @@
#include <arpa/inet.h>
#endif
#ifdef HAVE_POLL
-#include <sys/poll.h>
+#include <poll.h>
#endif
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
--- ./storage/mroonga/vendor/groonga/lib/grn_com.h.orig 2015-09-19 22:53:30.420480384 -0400
+++ ./storage/mroonga/vendor/groonga/lib/grn_com.h 2015-09-19 22:54:29.412481062 -0400
@@ -83,7 +83,7 @@
# define GRN_COM_POLLIN EVFILT_READ
# define GRN_COM_POLLOUT EVFILT_WRITE
# else /* USE_KQUEUE */
-# include <sys/poll.h>
+# include <poll.h>
# define GRN_COM_POLLIN POLLIN
# define GRN_COM_POLLOUT POLLOUT
# endif /* USE_KQUEUE */