nixpkgs/pkgs/tools/networking/wget/gnutls-support.patch
Lluís Batlle i Rossell 4b27d28701 Porting changes from stdenv-updates into this branch.
This comes from:
svn diff  ^/nixpkgs/trunk/@18255 ^/nixpkgs/branches/stdenv-updates/ > diff
patch -p0 < diff
and then adding into svn all files new from the patch.

trunk@18255 comes from the last time I updated stdenv-updates from trunk.


svn path=/nixpkgs/stdenv-updates2/; revision=18272
2009-11-08 00:32:12 +00:00

17 lines
531 B
Diff

This patch fixes GnuTLS support:
http.o: In function `gethttp':
http.c:(.text+0x26c6): undefined reference to `ssl_connect_wget'
--- wget-1.12/src/http.c 2009-09-22 05:02:18.000000000 +0200
+++ wget-1.12/src/http.c 2009-10-03 17:24:46.000000000 +0200
@@ -1762,7 +1762,7 @@ gethttp (struct url *u, struct http_stat
if (conn->scheme == SCHEME_HTTPS)
{
- if (!ssl_connect_wget (sock))
+ if (!ssl_connect (sock))
{
fd_close (sock);
return CONSSLERR;