diff --git a/srcpkgs/xbps-static/template b/srcpkgs/xbps-static/template index 314c994bf9..a93c291d23 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=6 +revision=7 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 new file mode 100644 index 0000000000..7ee6d4031b --- /dev/null +++ b/srcpkgs/xbps/patches/0001-lib-fetch-http.c-fix-EOL-at-HTTP-CONNECT.patch @@ -0,0 +1,26 @@ +From 3a5c1f3a71200f45f06dace1f55faf782ece9352 Mon Sep 17 00:00:00 2001 +From: Enno Boland +Date: Tue, 26 Apr 2016 13:56:10 +0200 +Subject: [PATCH] lib/fetch/http.c: fix EOL at HTTP CONNECT + +fixes #172. +--- + lib/fetch/http.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/fetch/http.c b/lib/fetch/http.c +index a027c39..433bd11 100644 +--- lib/fetch/http.c ++++ lib/fetch/http.c +@@ -733,7 +733,7 @@ http_connect(struct url *URL, struct url *purl, const char *flags, int *cached) + /* fetch_connect() has already set an error code */ + 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", + URL->host, URL->port); + if (http_get_reply(conn) != HTTP_OK) { + fetch_close(conn); +-- +2.8.1 + diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template index 3da9938b68..07df2fb6bd 100644 --- a/srcpkgs/xbps/template +++ b/srcpkgs/xbps/template @@ -1,7 +1,7 @@ # Template file for 'xbps' pkgname=xbps version=0.51 -revision=6 +revision=7 bootstrap=yes build_style=configure short_desc="The XBPS package system utilities"