summaryrefslogtreecommitdiffstats
path: root/audio-drivers
diff options
context:
space:
mode:
authorIsmael Luceno2019-06-25 21:15:11 +0200
committerIsmael Luceno2019-06-26 23:41:11 +0200
commit1520be6037cc50e38de6836b5e36e1110372f437 (patch)
tree387623b9d5e7d5f51ce57280768c7c7c725b034b /audio-drivers
parente67d5194a4e051f312254bba999876cdcb5ee7e1 (diff)
alsa-firmware: Fix build of hdsploader against musl
Diffstat (limited to 'audio-drivers')
-rw-r--r--audio-drivers/alsa-firmware/HISTORY3
-rwxr-xr-xaudio-drivers/alsa-firmware/PRE_BUILD3
2 files changed, 6 insertions, 0 deletions
diff --git a/audio-drivers/alsa-firmware/HISTORY b/audio-drivers/alsa-firmware/HISTORY
index f90d20ccf9..6e621d8725 100644
--- a/audio-drivers/alsa-firmware/HISTORY
+++ b/audio-drivers/alsa-firmware/HISTORY
@@ -1,3 +1,6 @@
+2019-06-25 Ismael Luceno <ismael@sourcemage.org>
+ * PRE_BUILD: fixed build of hdsplader files against musl
+
2014-07-03 Ismael Luceno <ismael@sourcemage.org>
* DETAILS: Use get_scm_version
diff --git a/audio-drivers/alsa-firmware/PRE_BUILD b/audio-drivers/alsa-firmware/PRE_BUILD
new file mode 100755
index 0000000000..76eb8d5506
--- /dev/null
+++ b/audio-drivers/alsa-firmware/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY/hdsploader" &&
+sed -i 's/u_int32_t/uint32_t/g' tobin.c *.dat