diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2022-05-16 23:43:29 +0430 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2022-05-19 20:17:10 +0430 |
commit | 6f6d1a8f764e298f0867330994f3c7660362a0f5 (patch) | |
tree | 5c03e5f97835ab600bfbcfc3ef9572b1dde06023 /Ports/tcl | |
parent | ee557a414561e7d1a178538406a4767432838c81 (diff) | |
download | serenity-6f6d1a8f764e298f0867330994f3c7660362a0f5.zip |
Ports: Update tcl's patches to use git patches
Diffstat (limited to 'Ports/tcl')
-rw-r--r-- | Ports/tcl/patches/0001-Remove-uses-of-ipv6.patch (renamed from Ports/tcl/patches/ipv6.patch) | 23 | ||||
-rw-r--r-- | Ports/tcl/patches/ReadMe.md | 7 |
2 files changed, 25 insertions, 5 deletions
diff --git a/Ports/tcl/patches/ipv6.patch b/Ports/tcl/patches/0001-Remove-uses-of-ipv6.patch index d88c396fa5..070456eec0 100644 --- a/Ports/tcl/patches/ipv6.patch +++ b/Ports/tcl/patches/0001-Remove-uses-of-ipv6.patch @@ -1,7 +1,17 @@ -diff -Naur tcl8.6.11/unix/tclUnixSock.c tcl8.6.11.serenity/unix/tclUnixSock.c ---- unix/tclUnixSock.c 2020-09-21 17:15:49.000000000 +0200 -+++ unix.serenity/tclUnixSock.c 2021-04-25 09:39:28.224340150 +0200 -@@ -706,6 +706,7 @@ +From 51db9b91674f5ce8709896f1f752bbed7680fe55 Mon Sep 17 00:00:00 2001 +From: Gunnar Beutner <gbeutner@serenityos.org> +Date: Tue, 27 Apr 2021 14:58:09 +0200 +Subject: [PATCH] Remove uses of ipv6 + +--- + tclUnixSock.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/tclUnixSock.c b/tclUnixSock.c +index 1a54914..121f8a4 100644 +--- a/tclUnixSock.c ++++ b/tclUnixSock.c +@@ -706,6 +706,7 @@ static inline int IPv6AddressNeedsNumericRendering( struct in6_addr addr) { @@ -9,7 +19,7 @@ diff -Naur tcl8.6.11/unix/tclUnixSock.c tcl8.6.11.serenity/unix/tclUnixSock.c if (IN6_ARE_ADDR_EQUAL(&addr, &in6addr_any)) { return 1; } -@@ -716,11 +717,15 @@ +@@ -716,11 +717,15 @@ IPv6AddressNeedsNumericRendering( */ if (!IN6_IS_ADDR_V4MAPPED(&addr)) { @@ -25,3 +35,6 @@ diff -Naur tcl8.6.11/unix/tclUnixSock.c tcl8.6.11.serenity/unix/tclUnixSock.c } #if defined (__clang__) || ((__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 5)))) #pragma GCC diagnostic pop +-- +2.36.1 + diff --git a/Ports/tcl/patches/ReadMe.md b/Ports/tcl/patches/ReadMe.md new file mode 100644 index 0000000000..154e9bfead --- /dev/null +++ b/Ports/tcl/patches/ReadMe.md @@ -0,0 +1,7 @@ +# Patches for tcl on SerenityOS + +## `0001-Remove-uses-of-ipv6.patch` + +Remove uses of ipv6 + + |