summaryrefslogtreecommitdiffstats
path: root/audio-libs/libid3tag/PRE_BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'audio-libs/libid3tag/PRE_BUILD')
-rwxr-xr-xaudio-libs/libid3tag/PRE_BUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio-libs/libid3tag/PRE_BUILD b/audio-libs/libid3tag/PRE_BUILD
index e4b138170f..7841917726 100755
--- a/audio-libs/libid3tag/PRE_BUILD
+++ b/audio-libs/libid3tag/PRE_BUILD
@@ -1,5 +1,6 @@
default_pre_build &&
cd ${SOURCE_DIRECTORY} &&
+# Apply patches
patch -p0 < $SPELL_DIRECTORY/patches/libid3tag-0.15.1b-64bit-long.patch &&
patch -p2 < $SPELL_DIRECTORY/patches/libid3tag-0.15.1b-a_capella.patch &&
patch -p1 < $SPELL_DIRECTORY/patches/libid3tag-0.15.1b-compat.patch &&
@@ -8,4 +9,8 @@ patch -p0 < $SPELL_DIRECTORY/patches/libid3tag-0.15.1b-fix_overflow.patch &&
patch -p0 < $SPELL_DIRECTORY/patches/libid3tag-0.15.1b-tag.patch &&
patch -p1 < $SPELL_DIRECTORY/patches/libid3tag-0.15.1b-unknown-encoding.patch &&
patch -p1 < $SPELL_DIRECTORY/patches/libid3tag-0.15.1b-utf16.patchlibid3tag-0.15.1b-utf16.patch &&
+patch -p1 < $SPELL_DIRECTORY/patches/libid3tag-0.15.1b-gperf.patch &&
+# Regenerate these files from source after gperf.patch above
+rm compat.c frametype.c &&
+# Fix compiling against musl
sedit 's!maybe_os in$!& linux-musl*|\\!' config.sub