summaryrefslogtreecommitdiffstats
path: root/audio-libs
diff options
context:
space:
mode:
authorIsmael Luceno2019-06-01 01:33:00 +0200
committerIsmael Luceno2019-06-01 01:37:45 +0200
commitd731cb35096ef38688469d6cd9de7ade1565e0d3 (patch)
tree62da0f3df0befd19374f2d160198280083b292d8 /audio-libs
parent302ac20b358ed369d34a9c2d1fadf398c2955eb1 (diff)
libcdaudio: Fix build against musl
Diffstat (limited to 'audio-libs')
-rw-r--r--audio-libs/libcdaudio/HISTORY3
-rwxr-xr-xaudio-libs/libcdaudio/PRE_BUILD3
2 files changed, 5 insertions, 1 deletions
diff --git a/audio-libs/libcdaudio/HISTORY b/audio-libs/libcdaudio/HISTORY
index 91568ed09b..e87953de35 100644
--- a/audio-libs/libcdaudio/HISTORY
+++ b/audio-libs/libcdaudio/HISTORY
@@ -1,3 +1,6 @@
+2019-05-31 Ismael Luceno <ismael@sourcemage.org>
+ * PRE_BUILD: Fixed build against musl
+
2015-05-25 Thomas Orgis <sobukus@sourcemage.org>
* DETAILS: remove SOURCEFORGE_URL usage (automated)
diff --git a/audio-libs/libcdaudio/PRE_BUILD b/audio-libs/libcdaudio/PRE_BUILD
index aa2c1fd6bf..c195f22cb7 100755
--- a/audio-libs/libcdaudio/PRE_BUILD
+++ b/audio-libs/libcdaudio/PRE_BUILD
@@ -1,3 +1,4 @@
default_pre_build &&
cd ${SOURCE_DIRECTORY} &&
-patch -p1 < ${SCRIPT_DIRECTORY}/libcdaudio-CAN-2005-0706.patch
+patch -p1 < ${SCRIPT_DIRECTORY}/libcdaudio-CAN-2005-0706.patch &&
+sedit 's!maybe_os in$!& linux-musl*|\\!' config.sub