diff --git a/libwebsockets.spec b/libwebsockets.spec index b03b106..46bdd83 100644 --- a/libwebsockets.spec +++ b/libwebsockets.spec @@ -10,7 +10,6 @@ Summary: A lightweight C library for Websockets License: LGPLv2 and Public Domain and BSD and MIT and zlib URL: http://libwebsockets.org Source0: https://github.com/warmcat/libwebsockets/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -Patch0: sock-fix-build.patch BuildRequires: cmake BuildRequires: gcc diff --git a/sock-fix-build.patch b/sock-fix-build.patch deleted file mode 100644 index 2583db9..0000000 --- a/sock-fix-build.patch +++ /dev/null @@ -1,20 +0,0 @@ -Author: Sviatoslav Grebenchucov -Date: Sun Aug 25 20:52:20 2019 +0200 - -socks: Fix compilation error - - -diff --git a/lib/roles/http/client/client.c b/lib/roles/http/client/client.c -index 65b7c54..b1e795d 100644 ---- a/lib/roles/http/client/client.c -+++ b/lib/roles/http/client/client.c -@@ -214,7 +214,7 @@ lws_client_socket_service(struct lws *wsi, struct lws_pollfd *pollfd, - lwsl_client("SOCKS password OK, sending connect\n"); - if (socks_generate_msg(wsi, SOCKS_MSG_CONNECT, &len)) { - socks_send_msg_fail: -- *cce = "socks gen msg fail"; -+ cce = "socks gen msg fail"; - goto bail3; - } - conn_mode = LRS_WAITING_SOCKS_CONNECT_REPLY; -