From 67ad10d47bb02270f6daed939593a655625ad6ca Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Tue, 17 Apr 2007 14:11:40 +0000 Subject: Fix compilation against curl-7.16, thanks to Daniel Black , bug #157756 Package-Manager: portage-2.1.2.4 --- .../files/icecast-2.3.1-nocurlpassword.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 net-misc/icecast/files/icecast-2.3.1-nocurlpassword.patch (limited to 'net-misc/icecast/files') 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) -- cgit v1.2.3-65-gdbad