mirror of
http://git.openwrt.org/packages.git
synced 2025-01-08 11:57:34 +08:00
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 <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/packages@39417 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e69dca813c
commit
6469bc1c61
11
sound/cmus/patches/020-check_header_sys_soundcard.patch
Normal file
11
sound/cmus/patches/020-check_header_sys_soundcard.patch
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user