summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIsmael Luceno2019-05-23 21:09:36 +0200
committerIsmael Luceno2019-05-23 21:09:36 +0200
commitc137099bc33aabb19bf2081009634d130f1b41dc (patch)
treeb34db8f40896cc6c76b07c2de449938bacaa06d0
parent4072d71683ff5df7728d73d4d18f43177c12eab6 (diff)
aspell: Fix build against musl
-rw-r--r--spelling/aspell/HISTORY3
-rwxr-xr-xspelling/aspell/PRE_BUILD3
2 files changed, 5 insertions, 1 deletions
diff --git a/spelling/aspell/HISTORY b/spelling/aspell/HISTORY
index befe1fe398..5314bfb97d 100644
--- a/spelling/aspell/HISTORY
+++ b/spelling/aspell/HISTORY
@@ -1,3 +1,6 @@
+2019-05-23 Ismael Luceno <ismael@sourcemage.org>
+ * PRE_BUILD: Fixed build against musl
+
2017-09-25 Thomas Orgis <sobukus@sourcemage.org>
* BUILD: build permissively with modern C++ compilers
diff --git a/spelling/aspell/PRE_BUILD b/spelling/aspell/PRE_BUILD
index 57ebaa8b91..7705ca837e 100755
--- a/spelling/aspell/PRE_BUILD
+++ b/spelling/aspell/PRE_BUILD
@@ -1,3 +1,4 @@
default_pre_build &&
cd $SOURCE_DIRECTORY &&
-patch -p0 < $SCRIPT_DIRECTORY/templateinstantiations.patch
+patch -p0 < $SCRIPT_DIRECTORY/templateinstantiations.patch &&
+sedit 's!maybe_os in$!& linux-musl*|\\!' config.sub