summaryrefslogtreecommitdiffstats
path: root/archive
diff options
context:
space:
mode:
authorIsmael Luceno2019-05-18 03:44:57 +0200
committerIsmael Luceno2019-05-18 03:46:52 +0200
commit2bfa6fbf79ff6498261515e85b61c32195058b2e (patch)
treecfef97286eeb60771a9a6e7669723ef42aa1b605 /archive
parent5f513a378d94eb05163d96a706c34be77cb92a72 (diff)
lzop: Fix build against musl
Diffstat (limited to 'archive')
-rw-r--r--archive/lzop/HISTORY3
-rwxr-xr-xarchive/lzop/PRE_BUILD2
2 files changed, 5 insertions, 0 deletions
diff --git a/archive/lzop/HISTORY b/archive/lzop/HISTORY
index 4d1d12b83f..a8e5166c61 100644
--- a/archive/lzop/HISTORY
+++ b/archive/lzop/HISTORY
@@ -1,3 +1,6 @@
+2019-05-18 Ismael Luceno <ismael@sourcemage.org>
+ * PRE_BUILD: Fix build against musl
+
2016-11-05 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* PRE_BUILD, static-assert.patch, static-inlines.patch: add patches from
Debian to fix compile error with gcc 6
diff --git a/archive/lzop/PRE_BUILD b/archive/lzop/PRE_BUILD
index 915733ba33..6e43b1ab71 100755
--- a/archive/lzop/PRE_BUILD
+++ b/archive/lzop/PRE_BUILD
@@ -1,5 +1,7 @@
default_pre_build &&
cd "${SOURCE_DIRECTORY}" &&
+sedit 's!maybe_os in$!& linux-musl*|\\!' autoconf/config.sub &&
+
patch -p1 < "${SPELL_DIRECTORY}/static-assert.patch" &&
patch -p1 < "${SPELL_DIRECTORY}/static-inlines.patch"