package/x11r7/xlib_libXfont2: fix usage of libbsd
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 13 Oct 2019 19:54:43 +0000 (21:54 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 16 Oct 2019 21:23:06 +0000 (23:23 +0200)
commitd32098fd08ae9dddcc9764b9dc96477548acca04
tree8a3d0da48e04db251baed1926617fd46dbe7f64c
parent27973707f794bcc1e3c2be6728e1fc6a55b40b37
package/x11r7/xlib_libXfont2: fix usage of libbsd

Upstream added optional support for libbsd:
"Add strlcat & strlcpy fallbacks if not provided by libc nor libbsd"
https://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d4c941ea8b1dc07a14efce656bff58d31a14c985

and forgot to define HAVE_LIBBSD.

Also add libbsd as optional dependency because the build error occured
only when libbsd was built before building xlib_libXfont2.

Fixes:
http://autobuild.buildroot.net/results/165/165f9f948419fc69fbf6b9281d759b37bb7d40c6/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/x11r7/xlib_libXfont2/0001-configure-define-HAVE_LIBBSD-when-libbsd-was-found.patch [new file with mode: 0644]
package/x11r7/xlib_libXfont2/xlib_libXfont2.mk