ports/databases/mysql51-server/files/patch-configure
Alex Dupre 0b3d229e9d Fix gethostbyname usage.
PR:		ports/186509
Submitted by:	Lutz Rabing <lutz.rabing@omc.net>
2014-02-11 13:40:34 +00:00

22 lines
422 B
Text

--- configure.orig 2013-11-04 18:55:16.000000000 +0000
+++ configure 2014-02-11 13:34:06.586185156 +0000
@@ -22206,7 +22206,7 @@
int
main ()
{
-return gethostbyname_r ();
+return incompatible_gethostbyname_r ();
;
return 0;
}
@@ -24768,8 +24768,8 @@
# Some system specific hacks
#
-MAX_C_OPTIMIZE="-O3"
-MAX_CXX_OPTIMIZE="-O3"
+MAX_C_OPTIMIZE=""
+MAX_CXX_OPTIMIZE=""
case $SYSTEM_TYPE in
*solaris2.7*)