![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
commit ed683dbc3716f96a70721d52e782a7ba24cd7d71 Author: Tilman Sauerbeck <tilman@crux.nu> Date: Thu Nov 16 21:45:22 2006 +0100 vorbis-tools: fix compilation with curl 7.16. diff --git a/vorbis-tools/.md5sum b/vorbis-tools/.md5sum index 6a99a71..3fc0555 100644 --- a/vorbis-tools/.md5sum +++ b/vorbis-tools/.md5sum @@ -1 +1,2 @@ 47845fd76f5f2354a3619c4097575487 vorbis-tools-1.1.1.tar.gz +dc5a45112202819cef1870ebb8d44929 vorbis-tools.diff diff --git a/vorbis-tools/Pkgfile b/vorbis-tools/Pkgfile index 595c8c0..f2c6862 100644 --- a/vorbis-tools/Pkgfile +++ b/vorbis-tools/Pkgfile @@ -7,10 +7,14 @@ name=vorbis-tools version=1.1.1 release=2 -source=(http://downloads.xiph.org/releases/vorbis/$name-$version.tar.gz) +source=(http://downloads.xiph.org/releases/vorbis/$name-$version.tar.gz \ + $name.diff) build() { cd $name-$version + + patch -p0 -i $SRC/$name.diff + ./configure --prefix=/usr --disable-nls --enable-vcut make make DESTDIR=$PKG install diff --git a/vorbis-tools/vorbis-tools.diff b/vorbis-tools/vorbis-tools.diff new file mode 100644 index 0000000..6822778 --- /dev/null +++ b/vorbis-tools/vorbis-tools.diff @@ -0,0 +1,13 @@ +Fix compilation with latest curl. +Patch stolen from NetBSD. + +--- ogg123/http_transport.c.orig 2005-06-13 13:11:44.000000000 +0000 ++++ ogg123/http_transport.c +@@ -116,7 +116,6 @@ void set_curl_opts (http_private_t *priv + if (inputOpts.ProxyTunnel) + curl_easy_setopt (handle, CURLOPT_HTTPPROXYTUNNEL, inputOpts.ProxyTunnel); + */ +- curl_easy_setopt(handle, CURLOPT_MUTE, 1); + curl_easy_setopt(handle, CURLOPT_ERRORBUFFER, private->error); + curl_easy_setopt(handle, CURLOPT_PROGRESSFUNCTION, progress_callback); + curl_easy_setopt(handle, CURLOPT_PROGRESSDATA, private);