summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-06-05 09:00:32 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-06-05 09:00:32 +0200
commit1b9d9cbafde8c6687be9959493cad58d26d0546b (patch)
tree124a28395d67a078247a1ab5718c8ca4b716eaf8 /package
parent168f3b6e1412d47738c0a24660b34c58fdc680c7 (diff)
downloadbuildroot-novena-1b9d9cbafde8c6687be9959493cad58d26d0546b.tar.gz
buildroot-novena-1b9d9cbafde8c6687be9959493cad58d26d0546b.zip
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>
Diffstat (limited to 'package')
-rw-r--r--package/cdrkit/cdrkit-1.1.10-no-rcmd.patch22
1 files changed, 22 insertions, 0 deletions
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
index 000000000..294779f7a
--- /dev/null
+++ b/package/cdrkit/cdrkit-1.1.10-no-rcmd.patch
@@ -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 */