Building with USE=curl (net-misc/curl-7.21.7-r2) gives DLD-FUNCTIONS/urlwrite.cc:55:24: fatal error: curl/types.h: No such file or directory This is an upstream bug http://savannah.gnu.org/bugs/?33697 Please integrate the fix provided as a patch into 3.4.0 and 3.4.2 ebuilds. I've confirmed it's working with octave-3.4.2.
Adding the below to the ebuild should do the trick. --- /usr/portage/sci-mathematics/octave/octave-3.4.0-r2.ebuild 2011-07-12 22:52:00.000000000 +0200 +++ /usr/local/mine/sci-mathematics/octave/octave-3.4.0-r2.ebuild 2011-07-24 12:33:40.539997046 +0200 @@ -48,6 +48,8 @@ src_prepare() { epatch "${FILESDIR}"/${P}-{gcc46,pkgbuilddir,fltk,help,fftshift}.patch + #Fix bug 376089 + sed -i '/#include <curl\/types.h>/d' ${S}/src/DLD-FUNCTIONS/urlwrite.cc || die "sed failed" eautoreconf }
Fixed via a patch so this can be upstreamed. I haven't sent it upstream yet, can anyone from the sci-math herd please do so?
Upstream already fixed this in hg.