aboutsummaryrefslogtreecommitdiffstats
path: root/main/alsa-lib/alsa-lib_kernel_off_t.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-27 14:04:50 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-09-27 14:22:24 +0000
commit392988ed3d9401f39ab7fed37a8d76de993eda8b (patch)
tree3808e3213159e018bebda1b23f66a08152fbb3e6 /main/alsa-lib/alsa-lib_kernel_off_t.patch
parent8c1eeed3e8232fde1d7f46153adc5612d1701e35 (diff)
downloadaports-392988ed3d9401f39ab7fed37a8d76de993eda8b.tar.bz2
aports-392988ed3d9401f39ab7fed37a8d76de993eda8b.tar.xz
main/alsa-lib: fix musl build
fix various idiotic constructs. patches are mostly from sabotage, but some I wrote myself too.
Diffstat (limited to 'main/alsa-lib/alsa-lib_kernel_off_t.patch')
-rw-r--r--main/alsa-lib/alsa-lib_kernel_off_t.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/alsa-lib/alsa-lib_kernel_off_t.patch b/main/alsa-lib/alsa-lib_kernel_off_t.patch
new file mode 100644
index 0000000000..5884e8a9cd
--- /dev/null
+++ b/main/alsa-lib/alsa-lib_kernel_off_t.patch
@@ -0,0 +1,10 @@
+--- alsa-lib-1.0.27.2.org/include/local.h
++++ alsa-lib-1.0.27.2/include/local.h
+@@ -116,7 +116,6 @@
+ /* kill and replace kernel-specific types */
+ #define __user
+ #define __force
+-#define __kernel_off_t off_t
+
+ #include <sound/asound.h>
+