summaryrefslogtreecommitdiffstats
path: root/package/libedit/0001-check-bsd-functions-in-libbsd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/libedit/0001-check-bsd-functions-in-libbsd.patch')
-rw-r--r--package/libedit/0001-check-bsd-functions-in-libbsd.patch6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/libedit/0001-check-bsd-functions-in-libbsd.patch b/package/libedit/0001-check-bsd-functions-in-libbsd.patch
index de452a5c24..7438340d48 100644
--- a/package/libedit/0001-check-bsd-functions-in-libbsd.patch
+++ b/package/libedit/0001-check-bsd-functions-in-libbsd.patch
@@ -1,5 +1,7 @@
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>
@@ -15,6 +17,6 @@ diff -durN libedit-20130712-3.1.orig/configure.ac libedit-20130712-3.1/configure
+# 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 fgetln vis strvis strunvis __secure_getenv secure_getenv])
-
+ 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
OpenPOWER on IntegriCloud