summaryrefslogtreecommitdiffstats
path: root/audio-libs
diff options
context:
space:
mode:
authorIsmael Luceno2019-05-23 19:23:57 +0200
committerIsmael Luceno2019-05-23 19:23:57 +0200
commit3a1244249dba0a080a983e3b77ad043ec3362150 (patch)
treecc5b93b29ec8bbd6126bf93c3f948414306ec5b4 /audio-libs
parent33f2f073ff3626f2935e5ed6eaf3c0f971415827 (diff)
a52dec: Fix build against musl
Diffstat (limited to 'audio-libs')
-rw-r--r--audio-libs/a52dec/HISTORY3
-rwxr-xr-xaudio-libs/a52dec/PRE_BUILD1
2 files changed, 4 insertions, 0 deletions
diff --git a/audio-libs/a52dec/HISTORY b/audio-libs/a52dec/HISTORY
index ee0e914352..fe4760832a 100644
--- a/audio-libs/a52dec/HISTORY
+++ b/audio-libs/a52dec/HISTORY
@@ -1,3 +1,6 @@
+2019-05-23 Ismael Luceno <ismael@sourcemage.org>
+ * PRE_BUILD: Fixed build against musl
+
2012-05-26 Sukneet Basuta <sukneet@sourcemage.org>
* PRE_BUILD: added, to apply fPIC.patch if x86_64
* fPIC.patch: added, remove prefer-non-pic flag from
diff --git a/audio-libs/a52dec/PRE_BUILD b/audio-libs/a52dec/PRE_BUILD
index d318639270..78dbe5ad55 100755
--- a/audio-libs/a52dec/PRE_BUILD
+++ b/audio-libs/a52dec/PRE_BUILD
@@ -1,5 +1,6 @@
default_pre_build &&
cd $SOURCE_DIRECTORY &&
+sedit 's!maybe_os in$!& linux-musl*|\\!' autotools/config.sub &&
if [ "${SMGL_COMPAT_ARCHS[1]}" = x86_64 ]; then
patch -p1 < $SPELL_DIRECTORY/fPIC.patch