summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-05-31 15:29:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-05-31 15:29:04 +0000
commit0b18dade6d008351c309b1cc0587e00686fedc3e (patch)
treefb9d51c56f61525e3ed03f7ace0fafc56d0b899c
parent4f1fa57c09426ec672f336f8af139f86dfc6cda5 (diff)
downloadmtk-20170518-0b18dade6d008351c309b1cc0587e00686fedc3e.zip
mtk-20170518-0b18dade6d008351c309b1cc0587e00686fedc3e.tar.gz
mtk-20170518-0b18dade6d008351c309b1cc0587e00686fedc3e.tar.bz2
fix alsa compile error (backport from buildroot-ng)
SVN-Revision: 3863
-rw-r--r--openwrt/target/linux/package/alsa/patches/100-compile_fix.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/openwrt/target/linux/package/alsa/patches/100-compile_fix.patch b/openwrt/target/linux/package/alsa/patches/100-compile_fix.patch
new file mode 100644
index 0000000..2e2a3df
--- /dev/null
+++ b/openwrt/target/linux/package/alsa/patches/100-compile_fix.patch
@@ -0,0 +1,18 @@
+diff -urN alsa.old/include/adriver.h alsa.dev/include/adriver.h
+--- alsa.old/include/adriver.h 2006-04-19 08:24:30.000000000 +0200
++++ alsa.dev/include/adriver.h 2006-05-31 17:24:49.000000000 +0200
+@@ -451,7 +451,7 @@
+ #endif /* < 2.6.0 */
+
+ /* workarounds for USB API */
+-#if defined(SND_NEED_USB_WRAPPER) && (defined(CONFIG_USB) || defined(CONFIG_USB_MODULE))
++#if 1
+
+ #include <linux/usb.h>
+
+@@ -1174,4 +1174,5 @@
+ */
+ #define OPL3_HW_OPL3_PC98 0x0305 /* PC9800 */
+
++#undef info /* used in several structs */
+ #endif /* __SOUND_LOCAL_DRIVER_H */