cdrkit: fix build on uClibc
authorPeter Korsgaard <jacmet@sunsite.dk>
Sat, 5 Jun 2010 07:00:32 +0000 (09:00 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 5 Jun 2010 07:00:32 +0000 (09:00 +0200)
cdrkit unconditionally enables code using rcmd(3), which isn't available
on uClibc.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/cdrkit/cdrkit-1.1.10-no-rcmd.patch [new file with mode: 0644]

diff --git a/CHANGES b/CHANGES
index 1f19a244ffcee066f6f93f0f079e3b2cee3a7fd5..86495889d553e769de2f12f8abe7ea0e0de9d440 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -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):
 
diff --git a/package/cdrkit/cdrkit-1.1.10-no-rcmd.patch b/package/cdrkit/cdrkit-1.1.10-no-rcmd.patch
new file mode 100644 (file)
index 0000000..294779f
--- /dev/null
@@ -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 */