From 23cac98298b495e55e92e88b6bbb1834922ae7c6 Mon Sep 17 00:00:00 2001 From: Ismael Luceno Date: Sun, 21 Jul 2019 00:46:29 +0200 Subject: libwmf: Fix build against musl --- graphics-libs/libwmf/HISTORY | 3 +++ graphics-libs/libwmf/PRE_BUILD | 1 + 2 files changed, 4 insertions(+) (limited to 'graphics-libs') diff --git a/graphics-libs/libwmf/HISTORY b/graphics-libs/libwmf/HISTORY index b3e6ba9f1e..e81d683473 100644 --- a/graphics-libs/libwmf/HISTORY +++ b/graphics-libs/libwmf/HISTORY @@ -1,3 +1,6 @@ +2019-07-20 Ismael Luceno + * PRE_BUILD: Fixed build against musl + 2016-03-06 Thomas Orgis * DETAILS: remove stray quote that broke things * PRE_BUILD: another PNG patch to fix build diff --git a/graphics-libs/libwmf/PRE_BUILD b/graphics-libs/libwmf/PRE_BUILD index 97484e35da..1e489e4c5b 100755 --- a/graphics-libs/libwmf/PRE_BUILD +++ b/graphics-libs/libwmf/PRE_BUILD @@ -1,5 +1,6 @@ default_pre_build && cd $SOURCE_DIRECTORY && +sedit 's!maybe_os in$!& linux-musl*|\\!' config.sub && patch -p0 < $SCRIPT_DIRECTORY/png_header_fix.patch && # libpng-1.5 fix from https://raw.githubusercontent.com/KaOSx/main/master/libwmf/libwmf-0.2.8.4-libpng-1.5.patch.gz patch -p1 <<'EOT' -- cgit v1.2.3