summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2020-01-06 17:34:59 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-01-06 17:40:19 +0200
commit1c0d5bfdbb7d4551607a7db4d85df0b2014f453c (patch)
tree908411bf69009a70151cb54e479d64ca4ebec8dd /net-libs
parentnet-libs/libwebsockets: Fix compile issue (#704180) (diff)
downloadgentoo-1c0d5bfdbb7d4551607a7db4d85df0b2014f453c.tar.gz
gentoo-1c0d5bfdbb7d4551607a7db4d85df0b2014f453c.tar.bz2
gentoo-1c0d5bfdbb7d4551607a7db4d85df0b2014f453c.zip
net-libs/libwebsockets: remove disrupting spaces from a patch
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libwebsockets/files/libwebsockets-3.2.1-socks5-noclient-compilefailure.patch10
1 files changed, 5 insertions, 5 deletions
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