0001-fix-build-with-uClibc.patch 909 B

12345678910111213141516171819202122232425262728
  1. From 13823cfe42f33e947f8375f5a3f9ee177c699960 Mon Sep 17 00:00:00 2001
  2. From: Peter Korsgaard <jacmet@sunsite.dk>
  3. Date: Sat, 13 Jul 2024 10:57:57 +0200
  4. Subject: [PATCH] fix build with uClibc
  5. cdrkit unconditionally enables code using rcmd(3), which isn't available
  6. on uClibc.
  7. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
  8. ---
  9. include/xconfig.h.in | 1 -
  10. 1 file changed, 1 deletion(-)
  11. diff --git a/include/xconfig.h.in b/include/xconfig.h.in
  12. index c130600..00f2044 100644
  13. --- a/include/xconfig.h.in
  14. +++ b/include/xconfig.h.in
  15. @@ -187,7 +187,6 @@
  16. * they are placed before the large file tests.
  17. */
  18. -#define HAVE_RCMD 1 /* rcmd() is present in libc/libsocket */
  19. #define HAVE_SOCKET 1 /* socket() is present in libc/libsocket */
  20. #define HAVE_SOCKETPAIR 1 /* socketpair() is present in libc/libsocket */
  21. #define HAVE_GETSERVBYNAME 1 /* getservbyname() is present in libc/libsocket */
  22. --
  23. 2.45.2