mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
libwebsockets: update to 4.3.3
This commit is contained in:
parent
2331881c29
commit
0d36b8c7e4
@ -2,8 +2,8 @@
|
|||||||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
|
||||||
PKG_NAME="libwebsockets"
|
PKG_NAME="libwebsockets"
|
||||||
PKG_VERSION="4.3.2"
|
PKG_VERSION="4.3.3"
|
||||||
PKG_SHA256="6a85a1bccf25acc7e8e5383e4934c9b32a102880d1e4c37c70b27ae2a42406e1"
|
PKG_SHA256="6fd33527b410a37ebc91bb64ca51bdabab12b076bc99d153d7c5dd405e4bdf90"
|
||||||
PKG_LICENSE="MIT"
|
PKG_LICENSE="MIT"
|
||||||
PKG_SITE="https://libwebsockets.org"
|
PKG_SITE="https://libwebsockets.org"
|
||||||
PKG_URL="https://github.com/warmcat/libwebsockets/archive/v${PKG_VERSION}.tar.gz"
|
PKG_URL="https://github.com/warmcat/libwebsockets/archive/v${PKG_VERSION}.tar.gz"
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
From 722e44cb5b74cae206f47a6dc0d985eba8ed1b2e Mon Sep 17 00:00:00 2001
|
|
||||||
From: Khem Raj <raj.khem@gmail.com>
|
|
||||||
Date: Thu, 26 Jan 2023 17:17:49 -0800
|
|
||||||
Subject: [PATCH] Fix -Werror=enum-int-mismatch in
|
|
||||||
lws_tls_server_abort_connection()
|
|
||||||
|
|
||||||
GCC 13 is findinf this function signature mismatch.
|
|
||||||
|
|
||||||
../git/lib/tls/openssl/openssl-server.c:713:1: error: conflicting types for 'lws_tls_server_abort_connection' due to enum/integer mismatch; have 'int(struct lws *)' [-Werror=enum-int-mismatch]
|
|
||||||
|
|
||||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
||||||
---
|
|
||||||
lib/tls/openssl/openssl-server.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/lib/tls/openssl/openssl-server.c b/lib/tls/openssl/openssl-server.c
|
|
||||||
index f2e77324f..43d65e030 100644
|
|
||||||
--- a/lib/tls/openssl/openssl-server.c
|
|
||||||
+++ b/lib/tls/openssl/openssl-server.c
|
|
||||||
@@ -699,7 +699,7 @@ lws_tls_server_new_nonblocking(struct lws *wsi, lws_sockfd_type accept_fd)
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
-int
|
|
||||||
+enum lws_ssl_capable_status
|
|
||||||
lws_tls_server_abort_connection(struct lws *wsi)
|
|
||||||
{
|
|
||||||
if (wsi->tls.use_ssl)
|
|
Loading…
x
Reference in New Issue
Block a user