package/x11r7/xlib_libXfont2: fix libbsd detection
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 19 Oct 2019 07:48:26 +0000 (09:48 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 19 Oct 2019 18:42:49 +0000 (20:42 +0200)
commitb39b5760a3aa9ef70caca45d2585816ddbca252b
tree23e80e8397d5ca4829e7f376d2b9ed271214dd6d
parentdbfedd709ea88d4f0e4636ac9e3723c83314d4aa
package/x11r7/xlib_libXfont2: fix libbsd detection

Previous patch defined HAVE_LIBBSD even if strlcat function was present
in libc leading to build errors due to inclusion of bsd/string.h:
https://gitlab.freedesktop.org/xorg/lib/libxfont/blob/master/src/util/replace.h#L50

AC_SEARCH_LIBS is defined as
"Search for a library defining function if it's not already available."
https://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/Libraries.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/x11r7/xlib_libXfont2/0001-configure-define-HAVE_LIBBSD-when-libbsd-was-found.patch