kumquat-buildroot/package/libedit/0001-check-bsd-functions-in-libbsd.patch
Fabrice Fontaine f1e26f9835 libedit: bump to version 20170329-3.1
- Remove LIBEDIT_POST_EXTRACT_HOOKS
- Rebase patch
- Remove --enable-widec (deprecated, wide char is always enabled)
- Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-04-29 19:26:43 +02:00

23 lines
918 B
Diff

configure: on Linux, the BSD functions require linking against libbsd
Signed-off-by: "Fabrice Fontaine" <fontaine.fabrice@gmail.com>
(Rebased against 20170329-3.1)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
(Rebased against 20150325-3.1)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
diff -durN libedit-20130712-3.1.orig/configure.ac libedit-20130712-3.1/configure.ac
--- libedit-20130712-3.1.orig/configure.ac 2013-07-12 20:39:22.000000000 +0200
+++ libedit-20130712-3.1/configure.ac 2013-07-28 23:35:35.012676469 +0200
@@ -117,6 +117,10 @@
#AC_FUNC_REALLOC
AC_TYPE_SIGNAL
AC_FUNC_STAT
+
+# Search for libbsd for *vis functions
+AC_CHECK_LIB([bsd], [vis])
+
AC_CHECK_FUNCS([endpwent isascii memchr memset re_comp regcomp strcasecmp strchr strcspn strdup strerror strrchr strstr strtol issetugid wcsdup strlcpy strlcat getline vis strvis strunvis __secure_getenv secure_getenv])
# strlcpy