xref: /OK3568_Linux_fs/buildroot/package/cdrkit/0001-no-rcmd.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1[PATCH] fix build with uClibc
2
3cdrkit unconditionally enables code using rcmd(3), which isn't available
4on uClibc.
5
6Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
7---
8 include/xconfig.h.in |    1 -
9 1 file changed, 1 deletion(-)
10
11Index: cdrkit-1.1.10/include/xconfig.h.in
12===================================================================
13--- cdrkit-1.1.10.orig/include/xconfig.h.in
14+++ cdrkit-1.1.10/include/xconfig.h.in
15@@ -187,7 +187,6 @@
16  *	they are placed before the large file tests.
17  */
18
19-#define HAVE_RCMD 1		/* rcmd() is present in libc/libsocket */
20 #define HAVE_SOCKET 1		/* socket() is present in libc/libsocket */
21 #define HAVE_SOCKETPAIR 1		/* socketpair() is present in libc/libsocket */
22 #define HAVE_GETSERVBYNAME 1	/* getservbyname() is present in libc/libsocket */
23