cdrkit: fix build on uClibc

cdrkit unconditionally enables code using rcmd(3), which isn't available
on uClibc.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2010-06-05 09:00:32 +02:00
parent 168f3b6e14
commit 1b9d9cbafd
2 changed files with 23 additions and 1 deletions

View File

@ -2,7 +2,7 @@
Fixes all over the tree.
Updated/fixed packages: libidn, netperf
Updated/fixed packages: cdrkit, libidn, netperf
Issues resolved (http://bugs.uclibc.org):

View File

@ -0,0 +1,22 @@
[PATCH] fix build with uClibc
cdrkit unconditionally enables code using rcmd(3), which isn't available
on uClibc.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
include/xconfig.h.in | 1 -
1 file changed, 1 deletion(-)
Index: cdrkit-1.1.10/include/xconfig.h.in
===================================================================
--- cdrkit-1.1.10.orig/include/xconfig.h.in
+++ cdrkit-1.1.10/include/xconfig.h.in
@@ -187,7 +187,6 @@
* they are placed before the large file tests.
*/
-#define HAVE_RCMD 1 /* rcmd() is present in libc/libsocket */
#define HAVE_SOCKET 1 /* socket() is present in libc/libsocket */
#define HAVE_SOCKETPAIR 1 /* socketpair() is present in libc/libsocket */
#define HAVE_GETSERVBYNAME 1 /* getservbyname() is present in libc/libsocket */