From 177765642e73a90147c2cc1b0196e8426321137b Mon Sep 17 00:00:00 2001 From: Kenneth Myhra Date: Sun, 19 Sep 2021 11:10:16 +0200 Subject: [PATCH] Ports/glib: Remove patch 0008-add-missing-macro-IN6_IS_ADDR_V4MAPPED Since we now have the 'IN6_IS_ADDR_V4MAPPED' macro in LibC this patch is no longer needed. --- ...d-missing-macro-IN6_IS_ADDR_V4MAPPED.patch | 33 ------------------- Ports/glib/patches/README.md | 10 ------ 2 files changed, 43 deletions(-) delete mode 100644 Ports/glib/patches/0008-add-missing-macro-IN6_IS_ADDR_V4MAPPED.patch diff --git a/Ports/glib/patches/0008-add-missing-macro-IN6_IS_ADDR_V4MAPPED.patch b/Ports/glib/patches/0008-add-missing-macro-IN6_IS_ADDR_V4MAPPED.patch deleted file mode 100644 index 1d3fe4dd648..00000000000 --- a/Ports/glib/patches/0008-add-missing-macro-IN6_IS_ADDR_V4MAPPED.patch +++ /dev/null @@ -1,33 +0,0 @@ -From f228b35ce89f2ccf6d8c84a8a35c3e7279ddb424 Mon Sep 17 00:00:00 2001 -From: Kenneth Myhra -Date: Thu, 12 Aug 2021 20:51:13 +0200 -Subject: [PATCH 08/12] gio/gsocketaddress.c: Add missing macro - IN6_IS_ADDR_V4MAPPED - ---- - gio/gsocketaddress.c | 9 +++++++++ - 1 file changed, 9 insertions(+) - -diff --git a/gio/gsocketaddress.c b/gio/gsocketaddress.c -index 2b7e83c..88d757c 100644 ---- a/gio/gsocketaddress.c -+++ b/gio/gsocketaddress.c -@@ -39,6 +39,15 @@ - #include "gunixsocketaddress.h" - #endif - -+#ifndef IN6_IS_ADDR_V4MAPPED -+#define IN6_IS_ADDR_V4MAPPED(a) \ -+((((a)->s6_addr[0]) == 0) && \ -+(((a)->s6_addr[1]) == 0) && \ -+(((a)->s6_addr[2]) == 0) && \ -+(((a)->s6_addr[3]) == 0) && \ -+(((a)->s6_addr[4]) == 0) && \ -+(((a)->s6_addr[5]) == 0xFFFF)) -+#endif - - /** - * SECTION:gsocketaddress --- -2.25.1 - diff --git a/Ports/glib/patches/README.md b/Ports/glib/patches/README.md index 376142c643f..3918a11443a 100644 --- a/Ports/glib/patches/README.md +++ b/Ports/glib/patches/README.md @@ -60,16 +60,6 @@ Somehow we get a conflict with glib's mount function. This patch renames glib's - [X] Resolves issue(s) with our side of things - [X] Hack -## `0008-add-missing-macro-IN6_IS_ADDR_V4MAPPED.patch` - -Serenity lacks the macro 'IN6_IS_ADDR_V4MAPPED' so this patch adds such a macro. - -### Status -- [ ] Local? -- [ ] Should be merged to upstream? -- [X] Resolves issue(s) with our side of things -- [X] Hack - ## `0009-include-section-with-missing-functionality.patch` This includes a bigger section with functionality that Serenity is missing.