--- I think upstream was trying to separate the "check for include file in system include dir" vs "check for include file in any dependent library's include paths". Ideally their configure script could be instructed to use something other than "/" as its idea of the root for system include dirs, but that would require passing an extra arg to configure, and seemed messy. This (using the "check in any -I dirs") seems like a reasonable compromise, as it piggybacks on paths that are already being passed in.
.../patches/020-check_header_sys_soundcard.patch | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) 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 0000000..c17d6ea --- /dev/null +++ b/sound/cmus/patches/020-check_header_sys_soundcard.patch @@ -0,0 +1,20 @@ +--- a/configure ++++ b/configure +@@ -244,16 +244,10 @@ check_oss() + ;; + esac + +- 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 + return 0 +- else +- msg_result "no" + fi + return 1 + } -- 1.7.7.3 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel