From d7ed2b01311f15ba54fe8ea872aab7d59ab2b193 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 29 Jan 2021 18:03:51 +0000 Subject: gentoo resync : 29.01.2021 --- .../libwebsockets-3.2.0-check_chown_result.patch | 22 ---------------- ...kets-3.2.1-socks5-noclient-compilefailure.patch | 29 ---------------------- 2 files changed, 51 deletions(-) delete mode 100644 net-libs/libwebsockets/files/libwebsockets-3.2.0-check_chown_result.patch delete mode 100644 net-libs/libwebsockets/files/libwebsockets-3.2.1-socks5-noclient-compilefailure.patch (limited to 'net-libs/libwebsockets/files') diff --git a/net-libs/libwebsockets/files/libwebsockets-3.2.0-check_chown_result.patch b/net-libs/libwebsockets/files/libwebsockets-3.2.0-check_chown_result.patch deleted file mode 100644 index 3dafd60e7315..000000000000 --- a/net-libs/libwebsockets/files/libwebsockets-3.2.0-check_chown_result.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- libwebsockets-3.2.0.o/lib/misc/lws-struct-sqlite.c 2019-08-14 10:22:50.000000000 +0200 -+++ libwebsockets-3.2.0/lib/misc/lws-struct-sqlite.c 2019-11-07 20:03:43.939423877 +0200 -@@ -23,6 +23,7 @@ - #include - - #include -+#include - - /* - * we get one of these per matching result from the query -@@ -253,8 +254,9 @@ - } - - lws_get_effective_uid_gid(context, &uid, &gid); -- if (uid) -- chown(sqlite3_path, uid, gid); -+ if (uid && chown(sqlite3_path, uid, gid) < 0) -+ lwsl_err("%s: Error setting ownership of %s: %s\n", -+ __func__, sqlite3_path, strerror(errno)); - chmod(sqlite3_path, 0600); - - lwsl_notice("%s: created %s owned by %u:%u mode 0600\n", __func__, 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 deleted file mode 100644 index a7cffbb1f111..000000000000 --- a/net-libs/libwebsockets/files/libwebsockets-3.2.1-socks5-noclient-compilefailure.patch +++ /dev/null @@ -1,29 +0,0 @@ -From a27dabfd3a422a348135e49ffd4f163cc5c6baae Mon Sep 17 00:00:00 2001 -From: Jaco Kroon -Date: Mon, 6 Jan 2020 11:52:54 +0200 -Subject: [PATCH] lws_create_vhost compile failure with +SOCKS5 -client. - -If LWS is build with SOCKS5 support, but WITHOUT_CLIENT then a compile -failure occurs which this fixes. - -Signed-off-by: Jaco Kroon ---- - lib/core-net/vhost.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/core-net/vhost.c b/lib/core-net/vhost.c -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]; --#if !defined(LWS_WITHOUT_CLIENT) && defined(LWS_HAVE_GETENV) -+#if (!defined(LWS_WITHOUT_CLIENT) || defined(LWS_WITH_SOCKS5)) && defined(LWS_HAVE_GETENV) - char *p; - #endif - int n; --- -2.23.0 - -- cgit v1.2.3