diff options
author | dholland <dholland@pkgsrc.org> | 2011-09-12 05:01:15 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2011-09-12 05:01:15 +0000 |
commit | 275f18215b0e0f389f852dc6d791b8aa5f8ccd70 (patch) | |
tree | aa021707aab6a399574ead747c7b39efb8f8739f /audio/daapd | |
parent | 6e48ef6120edc5e1b463a8aa9218b1be289896be (diff) | |
download | pkgsrc-275f18215b0e0f389f852dc6d791b8aa5f8ccd70.tar.gz |
Patch a configure script to use valid C++, because the package's build
system runs it with CC set to "c++". Should fix the clang build.
Diffstat (limited to 'audio/daapd')
-rw-r--r-- | audio/daapd/distinfo | 3 | ||||
-rw-r--r-- | audio/daapd/patches/patch-libhttpd_configure | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/audio/daapd/distinfo b/audio/daapd/distinfo index 789c21bae78..4049c14b36d 100644 --- a/audio/daapd/distinfo +++ b/audio/daapd/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.18 2007/02/09 20:32:38 drochner Exp $ +$NetBSD: distinfo,v 1.19 2011/09/12 05:01:15 dholland Exp $ SHA1 (daapd-0.2.4b.tgz) = 0903303f155c19ae12cdc78be05799508156a16b RMD160 (daapd-0.2.4b.tgz) = 899b37b3872623ef918f7faa4eb8bad2dfc5b369 @@ -8,3 +8,4 @@ SHA1 (patch-ac) = 0a4e3dfb010bbf2cc01843987c970548cb4c646f SHA1 (patch-ad) = 05a61ced18d5b0827ade7e6b3341430ff9b9e89d SHA1 (patch-ae) = 3433d7e944999e10690ccdda1d49d3c711671446 SHA1 (patch-af) = 1a453dde4dd7d33061a500729b9ef5d89e850133 +SHA1 (patch-libhttpd_configure) = 91a7a942a078bda76582cbdf0cc1d3ae8b7029cb diff --git a/audio/daapd/patches/patch-libhttpd_configure b/audio/daapd/patches/patch-libhttpd_configure new file mode 100644 index 00000000000..b17e828da6e --- /dev/null +++ b/audio/daapd/patches/patch-libhttpd_configure @@ -0,0 +1,17 @@ +$NetBSD: patch-libhttpd_configure,v 1.1 2011/09/12 05:01:15 dholland Exp $ + +Since the package makefiles configure and build this library with a +C++ compiler (even though AFAICT it's C code) the configure script had +better use a valid C++ test program to see if the compiler works. + +--- libhttpd/configure~ 2006-03-05 13:39:37.000000000 +0000 ++++ libhttpd/configure +@@ -662,7 +662,7 @@ cat > conftest.$ac_ext << EOF + #line 663 "configure" + #include "confdefs.h" + +-main(){return(0);} ++int main(){return(0);} + EOF + if { (eval echo configure:668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + ac_cv_prog_cc_works=yes |