From ba9a525ba6abda1b0e1e97f864b158b85822a5e6 Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Wed, 22 Dec 2021 22:12:40 +0200 Subject: [PATCH] Ports: Remove obsolete siginfo_t::si_error Python3 patch --- Ports/python3/patches/ReadMe.md | 4 ---- Ports/python3/patches/remove-missing-si-errno.patch | 12 ------------ 2 files changed, 16 deletions(-) delete mode 100644 Ports/python3/patches/remove-missing-si-errno.patch diff --git a/Ports/python3/patches/ReadMe.md b/Ports/python3/patches/ReadMe.md index aace9687b0..77516ed87b 100644 --- a/Ports/python3/patches/ReadMe.md +++ b/Ports/python3/patches/ReadMe.md @@ -1,9 +1,5 @@ # Patches for Python 3.9 on SerenityOS -## `remove-missing-si-errno.patch` - -Removes a reference to `si_errno` in `siginfo_t`, as we currently don't have that implemented. - ## `include-sys-uio.patch` Ensures `struct iovec` is defined, required by the socket module. diff --git a/Ports/python3/patches/remove-missing-si-errno.patch b/Ports/python3/patches/remove-missing-si-errno.patch deleted file mode 100644 index a224dd19fa..0000000000 --- a/Ports/python3/patches/remove-missing-si-errno.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ur a/Modules/signalmodule.c b/Modules/signalmodule.c ---- a/Modules/signalmodule.c 2021-12-06 19:23:39.000000000 +0100 -+++ b/Modules/signalmodule.c 2021-12-22 03:37:56.097759703 +0100 -@@ -1151,7 +1151,7 @@ - PyStructSequence_SET_ITEM(result, 4, PyLong_FromLong(0L)); - PyStructSequence_SET_ITEM(result, 5, PyLong_FromLong(0L)); - #else -- PyStructSequence_SET_ITEM(result, 2, PyLong_FromLong((long)(si->si_errno))); -+ PyStructSequence_SET_ITEM(result, 2, PyLong_FromLong(0L)); - PyStructSequence_SET_ITEM(result, 3, PyLong_FromPid(si->si_pid)); - PyStructSequence_SET_ITEM(result, 4, _PyLong_FromUid(si->si_uid)); - PyStructSequence_SET_ITEM(result, 5,