From 1fe294142394022e7e841001bc1628b08465da15 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sun, 24 Sep 2023 17:54:48 +0200 Subject: [PATCH] xfig: fix cross. --- srcpkgs/xfig/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/xfig/template b/srcpkgs/xfig/template index b022dd0bc0c..13b8db6d26c 100644 --- a/srcpkgs/xfig/template +++ b/srcpkgs/xfig/template @@ -15,6 +15,9 @@ homepage="http://mcj.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/mcj/${pkgname}-${version}.tar.xz" checksum=13ed9d04d1bbc2dec09da7ef49ceec278382d290f6cd926474c2f2d016fec2f7 +# Hard-coded to /usr/include in the sources. +CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2" + post_extract() { vsed -i 's/spell %f/aspell list %f/' app-defaults/Fig }