From 1c0d5bfdbb7d4551607a7db4d85df0b2014f453c Mon Sep 17 00:00:00 2001 From: Joonas Niilola Date: Mon, 6 Jan 2020 17:34:59 +0200 Subject: net-libs/libwebsockets: remove disrupting spaces from a patch Signed-off-by: Joonas Niilola --- .../libwebsockets-3.2.1-socks5-noclient-compilefailure.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'net-libs') diff --git a/net-libs/libwebsockets/files/libwebsockets-3.2.1-socks5-noclient-compilefailure.patch b/net-libs/libwebsockets/files/libwebsockets-3.2.1-socks5-noclient-compilefailure.patch index d76744a14142..a7cffbb1f111 100644 --- a/net-libs/libwebsockets/files/libwebsockets-3.2.1-socks5-noclient-compilefailure.patch +++ b/net-libs/libwebsockets/files/libwebsockets-3.2.1-socks5-noclient-compilefailure.patch @@ -16,14 +16,14 @@ index 69fe26a5..283b802e 100644 --- a/lib/core-net/vhost.c +++ b/lib/core-net/vhost.c @@ -437,7 +437,7 @@ lws_create_vhost(struct lws_context *context, - struct lws_protocols *lwsp; - int m, f = !info->pvo, fx = 0, abs_pcol_count = 0; - char buf[96]; + struct lws_protocols *lwsp; + int m, f = !info->pvo, fx = 0, abs_pcol_count = 0; + char buf[96]; -#if !defined(LWS_WITHOUT_CLIENT) && defined(LWS_HAVE_GETENV) +#if (!defined(LWS_WITHOUT_CLIENT) || defined(LWS_WITH_SOCKS5)) && defined(LWS_HAVE_GETENV) - char *p; + char *p; #endif - int n; + int n; -- 2.23.0 -- cgit v1.2.3-65-gdbad