cdrkit-1.1.10-no-rcmd.patch 792 B

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