X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Falsa%2Fpatches%2F100-compile_fix.patch;fp=package%2Falsa%2Fpatches%2F100-compile_fix.patch;h=2e2a3df79a3f593d258250f000f65b8315ffcfd7;hb=50f793994e7020271ffd7b27aced6479be9769eb;hp=0000000000000000000000000000000000000000;hpb=9adaf00b8ecea3a05119f9c0242484865529cd5d;p=openwrt-10.03%2F.git diff --git a/package/alsa/patches/100-compile_fix.patch b/package/alsa/patches/100-compile_fix.patch new file mode 100644 index 000000000..2e2a3df79 --- /dev/null +++ b/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 + +@@ -1174,4 +1174,5 @@ + */ + #define OPL3_HW_OPL3_PC98 0x0305 /* PC9800 */ + ++#undef info /* used in several structs */ + #endif /* __SOUND_LOCAL_DRIVER_H */