summaryrefslogtreecommitdiffstats
path: root/graphics-libs
diff options
context:
space:
mode:
Diffstat (limited to 'graphics-libs')
-rw-r--r--graphics-libs/libwmf/HISTORY3
-rwxr-xr-xgraphics-libs/libwmf/PRE_BUILD1
2 files changed, 4 insertions, 0 deletions
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 <ismael@sourcemage.org>
+ * PRE_BUILD: Fixed build against musl
+
2016-03-06 Thomas Orgis <sobukus@sourcemage.org>
* 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'