From 6469bc1c618aff0c88753e53c1de0157e45f4bf8 Mon Sep 17 00:00:00 2001 From: jow Date: Wed, 29 Jan 2014 12:58:17 +0000 Subject: [PATCH] cmus: fix configure checks against host files 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 git-svn-id: svn://svn.openwrt.org/openwrt/packages@39417 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../cmus/patches/020-check_header_sys_soundcard.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sound/cmus/patches/020-check_header_sys_soundcard.patch 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 000000000..74f622ec0 --- /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 " +- if test -f /usr/include/sys/soundcard.h ++ if check_header sys/soundcard.h + then + msg_result "yes" + makefile_vars OSS_CFLAGS OSS_LIBS