[PATCH] toolchain/autoconf-lean: add check for ssize_t

Sebastian Kemper sebastian_ml at gmx.net
Mon Mar 1 16:02:23 GMT 2021


This was provided by the old static config.site files and is required by
some software, i.e. freeswitch.

Signed-off-by: Sebastian Kemper <sebastian_ml at gmx.net>
---
 toolchain/autoconf-lean/patches/120-add-extra-checks.patch | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/toolchain/autoconf-lean/patches/120-add-extra-checks.patch b/toolchain/autoconf-lean/patches/120-add-extra-checks.patch
index 7e81525daf..382e6e5ad1 100644
--- a/toolchain/autoconf-lean/patches/120-add-extra-checks.patch
+++ b/toolchain/autoconf-lean/patches/120-add-extra-checks.patch
@@ -29,7 +29,7 @@

  # Checks for typedefs, structures, and compiler characteristics.
  AC_TYPE_GETGROUPS
-@@ -217,6 +222,16 @@ AC_FUNC_STRTOLD
+@@ -217,6 +222,17 @@ AC_FUNC_STRTOLD
  AC_FUNC_UTIME_NULL
  AC_FUNC_VPRINTF

@@ -42,6 +42,7 @@
 +AC_CHECK_SIZEOF(unsigned long long)
 +AC_CHECK_SIZEOF(off_t)
 +AC_CHECK_SIZEOF(size_t)
++AC_CHECK_SIZEOF(ssize_t)
 +
  # Functions list scraped from musl 0.9.4 x86_64
  AC_CHECK_FUNCS([ \
--
2.20.1




More information about the openwrt-devel mailing list