Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5541 - mysql-3.23.51-r2 fails to build
Summary: mysql-3.23.51-r2 fails to build
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Ryan Phillips (RETIRED)
Depends on:
Reported: 2002-07-24 21:39 UTC by Vadim Berezniker
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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.