ladybird/Ports/glib/patches/0004-Disable-IPV6-support.patch

23 lines
637 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Kenneth Myhra <kennethmyhra@gmail.com>
Date: Thu, 12 Aug 2021 20:33:11 +0200
Subject: [PATCH] Disable IPV6 support
Serenity does not have IPV6 support so disable it
---
meson.build | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meson.build b/meson.build
index 0034898..26ece5a 100644
--- a/meson.build
+++ b/meson.build
@@ -1840,6 +1840,8 @@ endforeach
if host_system == 'windows'
have_ipv6 = true
+elif host_system == 'serenity'
+ have_ipv6 = false
else
have_ipv6 = cc.has_type('struct in6_addr', prefix: '#include <netinet/in.h>')
endif