aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2013-05-06 08:52:05 +0000
committerAlex Dupre <ale@FreeBSD.org>2013-05-06 08:52:05 +0000
commit5f3465e47ee7bcf92f53ad80a1bb6935fb5a3dd5 (patch)
treedb39b53f9efe8c1719684af50e14335a462a6f29 /databases
parentee30aca77bebc9891e651ce8d892294c72c80cb0 (diff)
downloadports-5f3465e47ee7bcf92f53ad80a1bb6935fb5a3dd5.tar.gz
ports-5f3465e47ee7bcf92f53ad80a1bb6935fb5a3dd5.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql50-server/files/patch-include_my_net.h11
-rw-r--r--databases/mysql51-server/files/patch-include_my_net.h11
2 files changed, 22 insertions, 0 deletions
diff --git a/databases/mysql50-server/files/patch-include_my_net.h b/databases/mysql50-server/files/patch-include_my_net.h
new file mode 100644
index 000000000000..045f226b8b3e
--- /dev/null
+++ b/databases/mysql50-server/files/patch-include_my_net.h
@@ -0,0 +1,11 @@
+--- include/my_net.h.orig 2013-05-06 10:44:34.000000000 +0200
++++ include/my_net.h 2013-05-06 10:45:11.000000000 +0200
+@@ -110,7 +110,7 @@
+ int buflen, int *h_errnop);
+ #define my_gethostbyname_r_free()
+ #else
+-#define my_gethostbyname_r(A,B,C,D,E) gethostbyname_r((A),(B),(C),(D),(E))
++#define my_gethostbyname_r(A,B,C,D,E) gethostbyname_r((A),(B),(C),(D),(E),NULL)
+ #define my_gethostbyname_r_free()
+ #endif /* !defined(HAVE_GETHOSTBYNAME_R) */
+
diff --git a/databases/mysql51-server/files/patch-include_my_net.h b/databases/mysql51-server/files/patch-include_my_net.h
new file mode 100644
index 000000000000..045f226b8b3e
--- /dev/null
+++ b/databases/mysql51-server/files/patch-include_my_net.h
@@ -0,0 +1,11 @@
+--- include/my_net.h.orig 2013-05-06 10:44:34.000000000 +0200
++++ include/my_net.h 2013-05-06 10:45:11.000000000 +0200
+@@ -110,7 +110,7 @@
+ int buflen, int *h_errnop);
+ #define my_gethostbyname_r_free()
+ #else
+-#define my_gethostbyname_r(A,B,C,D,E) gethostbyname_r((A),(B),(C),(D),(E))
++#define my_gethostbyname_r(A,B,C,D,E) gethostbyname_r((A),(B),(C),(D),(E),NULL)
+ #define my_gethostbyname_r_free()
+ #endif /* !defined(HAVE_GETHOSTBYNAME_R) */
+