From: Maarten ter Huurne Date: Tue, 16 Sep 2014 15:42:21 +0000 (+0200) Subject: xinetd: Patch configure script to fix rlim_t test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7cb90f1516b5b0b70fef2ce6eb5ff67d966ac2d7;p=buildroot.git xinetd: Patch configure script to fix rlim_t test Fixes build with musl libc. [Thomas: use 004 sequence number instead of 005 for the patch.] Signed-off-by: Maarten ter Huurne Signed-off-by: Thomas Petazzoni Tested-by: Thomas Petazzoni --- diff --git a/package/xinetd/xinetd-004-configure-rlim_t.patch b/package/xinetd/xinetd-004-configure-rlim_t.patch new file mode 100644 index 0000000000..e1cb48ac6a --- /dev/null +++ b/package/xinetd/xinetd-004-configure-rlim_t.patch @@ -0,0 +1,18 @@ +Have the configure script look for rlim_t in + +That's where POSIX says it should be. Some libcs will include its +definition via as well, but musl doesn't. + +Signed-off-by: Maarten ter Huurne + +--- xinetd-2.3.15.orig/configure 2007-09-20 16:58:27.000000000 +0200 ++++ xinetd-2.3.15/configure 2014-09-16 17:20:22.787665449 +0200 +@@ -7909,7 +7909,7 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#include ++#include + #if STDC_HEADERS + #include + #endif