cmuses configure checks an absolute path for the existence of a kernel
header. This results in a check against the hosts version of
/usr/include/sys/soundcard.h, which potentially does not exists (at
least on my system).

This patch supersedes http://patchwork.openwrt.org/patch/2713/.

Signed-off-by: Mathias Kresin <[email protected]>
---

diff --git a/sound/cmus/patches/020-check_header_sys_soundcard.patch 
b/sound/cmus/patches/020-check_header_sys_soundcard.patch
new file mode 100644
index 0000000..74f622e
--- /dev/null
+++ b/sound/cmus/patches/020-check_header_sys_soundcard.patch
@@ -0,0 +1,11 @@
+--- a/configure        2011-04-23 22:35:36.000000000 +0200
++++ b/configure        2014-01-23 15:50:42.139304856 +0100
+@@ -247,7 +247,7 @@
+       OSS_CFLAGS=""
+       OSS_LIBS=""
+       msg_checking "for header <sys/soundcard.h>"
+-      if test -f /usr/include/sys/soundcard.h
++      if check_header sys/soundcard.h
+       then
+               msg_result "yes"
+               makefile_vars OSS_CFLAGS OSS_LIBS
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to