summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-04-17 14:11:40 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-04-17 14:11:40 +0000
commit67ad10d47bb02270f6daed939593a655625ad6ca (patch)
treefa23969bffb96e5ac9e2cb2f8883be1469e5f791 /net-misc/icecast/files
parentRESTRICT="test" as per bug 130922. (diff)
downloadhistorical-67ad10d47bb02270f6daed939593a655625ad6ca.tar.gz
historical-67ad10d47bb02270f6daed939593a655625ad6ca.tar.bz2
historical-67ad10d47bb02270f6daed939593a655625ad6ca.zip
Fix compilation against curl-7.16, thanks to Daniel Black <dragonheart@gentoo.org>, bug #157756
Package-Manager: portage-2.1.2.4
Diffstat (limited to 'net-misc/icecast/files')
-rw-r--r--net-misc/icecast/files/icecast-2.3.1-nocurlpassword.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/net-misc/icecast/files/icecast-2.3.1-nocurlpassword.patch b/net-misc/icecast/files/icecast-2.3.1-nocurlpassword.patch
new file mode 100644
index 000000000000..1aee0cdba227
--- /dev/null
+++ b/net-misc/icecast/files/icecast-2.3.1-nocurlpassword.patch
@@ -0,0 +1,25 @@
+--- ./src/auth_url.c.orig 2007-04-17 22:48:11.000000000 +1000
++++ ./src/auth_url.c 2007-04-17 22:48:59.000000000 +1000
+@@ -112,14 +112,6 @@
+ }
+
+
+-/* make sure that prompting at the console does not occur */
+-static int my_getpass(void *client, char *prompt, char *buffer, int buflen)
+-{
+- buffer[0] = '\0';
+- return 0;
+-}
+-
+-
+ static int handle_returned_header (void *ptr, size_t size, size_t nmemb, void *stream)
+ {
+ auth_client *auth_user = stream;
+@@ -518,7 +510,6 @@
+ curl_easy_setopt (url_info->handle, CURLOPT_WRITEDATA, url_info->handle);
+ curl_easy_setopt (url_info->handle, CURLOPT_NOSIGNAL, 1L);
+ curl_easy_setopt (url_info->handle, CURLOPT_TIMEOUT, 15L);
+- curl_easy_setopt (url_info->handle, CURLOPT_PASSWDFUNCTION, my_getpass);
+ curl_easy_setopt (url_info->handle, CURLOPT_ERRORBUFFER, &url_info->errormsg[0]);
+
+ if (url_info->username && url_info->password)