From dd0386302c284e864af222ade5a0d52f7a14c607 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Fri, 1 Jan 2021 22:57:52 -0300 Subject: [PATCH] foobillard++: fix cross builds. No idea how it worked previously. --- srcpkgs/foobillard++/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/foobillard++/template b/srcpkgs/foobillard++/template index 98923393e9..d92355a8ca 100644 --- a/srcpkgs/foobillard++/template +++ b/srcpkgs/foobillard++/template @@ -15,7 +15,10 @@ license="GPL-2.0-only" homepage="http://foobillardplus.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/foobillardplus/foobillardplus-$version.tar.gz" checksum=e276b70674a7d788c45eeff89f1f5db5d48d871a1ab92103813d424a3761e1d9 -CFLAGS+=" -fgnu89-inline" +CFLAGS="-fgnu89-inline" +# flags from freetype-config and sdl-config +CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/freetype2" +CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/SDL -D_GNU_SOURCE=1" pre_configure() { autoreconf -fi