board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / libedit / 0001-check-bsd-functions-in-libbsd.patch
blobde452a5c24ac11cacdf86c12f7bd5a51b23a5711
1 configure: on Linux, the BSD functions require linking against libbsd
3 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
4 (Rebased against 20150325-3.1)
5 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
7 diff -durN libedit-20130712-3.1.orig/configure.ac libedit-20130712-3.1/configure.ac
8 --- libedit-20130712-3.1.orig/configure.ac 2013-07-12 20:39:22.000000000 +0200
9 +++ libedit-20130712-3.1/configure.ac 2013-07-28 23:35:35.012676469 +0200
10 @@ -117,6 +117,10 @@
11 #AC_FUNC_REALLOC
12 AC_TYPE_SIGNAL
13 AC_FUNC_STAT
15 +# Search for libbsd for *vis functions
16 +AC_CHECK_LIB([bsd], [vis])
18 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])
20 # strlcpy