mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +00:00
Ports: Remove obsolete siginfo_t::si_error Python3 patch
This commit is contained in:
parent
7a662c2638
commit
ba9a525ba6
2 changed files with 0 additions and 16 deletions
|
@ -1,9 +1,5 @@
|
||||||
# Patches for Python 3.9 on SerenityOS
|
# 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`
|
## `include-sys-uio.patch`
|
||||||
|
|
||||||
Ensures `struct iovec` is defined, required by the socket module.
|
Ensures `struct iovec` is defined, required by the socket module.
|
||||||
|
|
|
@ -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,
|
|
Loading…
Add table
Add a link
Reference in a new issue