diff options
author | Alexis Ballier <aballier@gentoo.org> | 2007-04-17 14:11:40 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2007-04-17 14:11:40 +0000 |
commit | d8c917826beb2253d7a9fb71f6a853583293da8b (patch) | |
tree | cb185e2d0bff1e1592373bf332da4453c414ac6e /net-misc/icecast/files | |
parent | RESTRICT="test" as per bug 130922. (diff) | |
download | gentoo-2-d8c917826beb2253d7a9fb71f6a853583293da8b.tar.gz gentoo-2-d8c917826beb2253d7a9fb71f6a853583293da8b.tar.bz2 gentoo-2-d8c917826beb2253d7a9fb71f6a853583293da8b.zip |
Fix compilation against curl-7.16, thanks to Daniel Black <dragonheart@gentoo.org>, bug #157756
(Portage version: 2.1.2.4)
Diffstat (limited to 'net-misc/icecast/files')
-rw-r--r-- | net-misc/icecast/files/icecast-2.3.1-nocurlpassword.patch | 25 |
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) |