Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 5541

Summary: mysql-3.23.51-r2 fails to build
Product: Gentoo Linux Reporter: Vadim Berezniker <kryptolus>
Component: New packagesAssignee: Ryan Phillips (RETIRED) <rphillips>
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Package list:
Runtime testing required: ---

Description Vadim Berezniker 2002-07-24 21:39:07 UTC
pkg_unpack applies the patch files/mysql-3.23.51-tcpd.patch which does:
-#define my_fromhost(A)    fromhost()
-#define my_hosts_access(A) hosts_access()
-#define my_eval_client(A)  eval_client()
+#define my_fromhost(A)    fromhost(A)
+#define my_hosts_access(A) hosts_access(A)
+#define my_eval_client(A)  eval_client(A)

The problem for me is that fromhost is that in /usr/include/tcpd.h(standard from
tcp-wrappers package) is just an alias to sock_host which takes no parameters.
Hence this patch brakes the compile for me.
Is this patch supposed to be there?
Comment 1 Vadim Berezniker 2002-07-24 22:20:24 UTC
yep. removing the patch from the ebuild fixed the build for me
Comment 2 Ryan Phillips (RETIRED) gentoo-dev 2002-07-25 03:26:36 UTC
 The patch appears to have been fixed upstream... It is now commented within 
the ebuild.