From 734ac2188429fe1dd1ba7105ff9a3243e065b66c Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Wed, 27 Apr 2016 11:06:16 +0200 Subject: [PATCH] xbps{,-static}: updated patch from master to fix https://github.com/voidlinux/xbps/issues/172 --- srcpkgs/xbps-static/template | 2 +- .../patches/0001-lib-fetch-http.c-fix-EOL-at-HTTP-CONNECT.patch | 2 +- srcpkgs/xbps/template | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/xbps-static/template b/srcpkgs/xbps-static/template index a93c291d237..3b901a5bb77 100644 --- a/srcpkgs/xbps-static/template +++ b/srcpkgs/xbps-static/template @@ -3,7 +3,7 @@ # NOTE: keep this package synchronized with "srcpkgs/xbps". pkgname=xbps-static version=0.51 -revision=7 +revision=8 build_style=configure short_desc="The XBPS package system utilities - static binaries" maintainer="Juan RP " diff --git a/srcpkgs/xbps/patches/0001-lib-fetch-http.c-fix-EOL-at-HTTP-CONNECT.patch b/srcpkgs/xbps/patches/0001-lib-fetch-http.c-fix-EOL-at-HTTP-CONNECT.patch index 7ee6d4031b8..2588f5ca4e5 100644 --- a/srcpkgs/xbps/patches/0001-lib-fetch-http.c-fix-EOL-at-HTTP-CONNECT.patch +++ b/srcpkgs/xbps/patches/0001-lib-fetch-http.c-fix-EOL-at-HTTP-CONNECT.patch @@ -17,7 +17,7 @@ index a027c39..433bd11 100644 return (NULL); if (strcasecmp(URL->scheme, SCHEME_HTTPS) == 0 && purl) { - http_cmd(conn, "CONNECT %s:%d HTTP/1.1", -+ http_cmd(conn, "CONNECT %s:%d HTTP/1.1\r\n", ++ http_cmd(conn, "CONNECT %s:%d HTTP/1.1\r\n\r\n", URL->host, URL->port); if (http_get_reply(conn) != HTTP_OK) { fetch_close(conn); diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template index 07df2fb6bdb..ef78e1c9962 100644 --- a/srcpkgs/xbps/template +++ b/srcpkgs/xbps/template @@ -1,7 +1,7 @@ # Template file for 'xbps' pkgname=xbps version=0.51 -revision=7 +revision=8 bootstrap=yes build_style=configure short_desc="The XBPS package system utilities"