freebsd-ports/databases/percona57-client/files/patch-vio_viosocket.c
Mark Felder f5a7bbe20b Welcome Percona 5.7 ports to the tree
- client and server version 5.7.16-10
- pam-for-mysql: compatible with newer MySQL API (MySQL 5.7+)

Thanks to all who have worked on Percona, MariaDB, and MySQL ports. Your
tireless efforts have been instrumental in making this port happen.

Differential Revision:	https://reviews.freebsd.org/D8785
2017-01-10 18:54:32 +00:00

13 lines
450 B
C

--- vio/viosocket.c.orig 2016-11-27 19:44:54 UTC
+++ vio/viosocket.c
@@ -45,6 +45,10 @@
static void (*before_io_wait)(void)= 0;
static void (*after_io_wait)(void)= 0;
+#ifdef __FreeBSD__
+#define s6_addr32 __u6_addr.__u6_addr32
+#endif
+
/* Wait callback macros (both performance schema and threadpool */
#define START_SOCKET_WAIT(locker, state_ptr, sock, which, timeout) \
do \