diff options
author | ale <ale@FreeBSD.org> | 2013-05-06 16:52:05 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2013-05-06 16:52:05 +0800 |
commit | 8c3ff95960a924a45e1395a8e4937fbbd293619f (patch) | |
tree | db39b53f9efe8c1719684af50e14335a462a6f29 /databases | |
parent | 601a174dce78bd7b7bbb0c8c48c71e31ca36462b (diff) | |
download | freebsd-ports-gnome-8c3ff95960a924a45e1395a8e4937fbbd293619f.tar.gz freebsd-ports-gnome-8c3ff95960a924a45e1395a8e4937fbbd293619f.tar.zst freebsd-ports-gnome-8c3ff95960a924a45e1395a8e4937fbbd293619f.zip |
Fix build with clang.
PR: ports/176105
Submitted by: Spil <spil.oss@gmail.com>
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mysql50-server/files/patch-include_my_net.h | 11 | ||||
-rw-r--r-- | databases/mysql51-server/files/patch-include_my_net.h | 11 |
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) */ + |