3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/vorbis-tools/ogg123-curlopt-mute.patch
Ludovic Courtès efb0822878 Allow compilation of ogg123' by fixing http_transport.c'.
svn path=/nixpkgs/trunk/; revision=10650
2008-02-12 18:15:45 +00:00

14 lines
619 B
Diff

--- vorbis-tools-1.1.1/ogg123/http_transport.c 2005-06-13 15:11:44.000000000 +0200
+++ vorbis-tools-1.1.1/ogg123/http_transport.c 2008-02-12 18:38:41.000000000 +0100
@@ -116,7 +116,9 @@ void set_curl_opts (http_private_t *priv
if (inputOpts.ProxyTunnel)
curl_easy_setopt (handle, CURLOPT_HTTPPROXYTUNNEL, inputOpts.ProxyTunnel);
*/
+#ifdef CURLOPT_MUTE
curl_easy_setopt(handle, CURLOPT_MUTE, 1);
+#endif
curl_easy_setopt(handle, CURLOPT_ERRORBUFFER, private->error);
curl_easy_setopt(handle, CURLOPT_PROGRESSFUNCTION, progress_callback);
curl_easy_setopt(handle, CURLOPT_PROGRESSDATA, private);