From 3009b1ed2cdaf14ff01bed1ea26d9bf98d8806b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sat, 22 Aug 2015 09:20:46 +0200 Subject: [PATCH] fontforge: unbreak musl --- srcpkgs/fontforge/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/fontforge/template b/srcpkgs/fontforge/template index 853c91ce6b..f51168ea89 100644 --- a/srcpkgs/fontforge/template +++ b/srcpkgs/fontforge/template @@ -1,9 +1,9 @@ # Template file for 'fontforge' pkgname=fontforge version=20150612 -revision=1 +revision=2 build_style=gnu-configure -hostmakedepends="automake libtool libltdl-devel pkg-config git python" +hostmakedepends="automake libtool libltdl-devel pkg-config git python ca-certificates" makedepends="libltdl-devel python-devel zlib-devel pango-devel readline-devel giflib-devel libpng-devel libjpeg-turbo-devel tiff-devel libxml2-devel libspiro-devel hicolor-icon-theme desktop-file-utils" @@ -21,6 +21,11 @@ pre_configure() { ./bootstrap } +pre_build() { + # Disable unused #include + sed -i fontforge/cvundoes.c -e "s;\(.*#include \);//\1;" +} + post_install() { vcopy ../Adobe-* usr/share/fontforge vmkdir usr/share/icons/hicolor