libgd: avoid recursive and redundant dependencies
[feed/packages.git] / libs / libwebsockets / patches / 020-gcc12.patch
1 From 6352fee2194a41179a808e9e2b805e0f5c86f8cf Mon Sep 17 00:00:00 2001
2 From: Andy Green <andy@warmcat.com>
3 Date: Sun, 16 Jan 2022 06:49:38 +0000
4 Subject: [PATCH] sort-dns: fix scope comparison
5
6 https://github.com/warmcat/libwebsockets/issues/2537
7 ---
8 lib/core-net/client/sort-dns.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11 --- a/lib/core-net/client/sort-dns.c
12 +++ b/lib/core-net/client/sort-dns.c
13 @@ -406,7 +406,7 @@ lws_sort_dns_dcomp(const lws_dns_sort_t
14 */
15
16 scopea = lws_ipv6_unicast_scope(to_v6_sa(&da->dest));
17 - scopeb = lws_ipv6_unicast_scope(to_v6_sa(&db));
18 + scopeb = lws_ipv6_unicast_scope(to_v6_sa(&db->dest));
19 scope_srca = lws_ipv6_unicast_scope(to_v6_sa(&da->source));
20 scope_srcb = lws_ipv6_unicast_scope(to_v6_sa(&db->source));
21