mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:37:34 +00:00
Ports: Remove obsolete rlimit patch for Python
Stubs for getrlimit()/setrlimit() have been added in 1c3c072
.
This commit is contained in:
parent
cf93512abe
commit
2cbe510e89
2 changed files with 0 additions and 15 deletions
|
@ -8,10 +8,6 @@ Ensures `HAVE_SIGSET_T` is defined, as we *do* have `sigset_t` but it's not dete
|
||||||
|
|
||||||
Enforce UTF-8 as encoding by defining `_Py_FORCE_UTF8_LOCALE`.
|
Enforce UTF-8 as encoding by defining `_Py_FORCE_UTF8_LOCALE`.
|
||||||
|
|
||||||
## `disable-setrlimit.patch`
|
|
||||||
|
|
||||||
Disables check for `RLIMIT_CORE` and subsequent `setrlimit()` call. Would be enabled otherwise as we *do* have `<sys/resource.h>` and therefore `HAVE_SYS_RESOURCE_H`.
|
|
||||||
|
|
||||||
## `fix-autoconf.patch`
|
## `fix-autoconf.patch`
|
||||||
|
|
||||||
As usual, make the `configure` script recognize Serenity. Also set `MACHDEP` (which is used for `sys.platform`) to a version-less `serenityos`, even when not cross-compiling.
|
As usual, make the `configure` script recognize Serenity. Also set `MACHDEP` (which is used for `sys.platform`) to a version-less `serenityos`, even when not cross-compiling.
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- Python-3.9.5/Modules/faulthandler.c 2021-02-21 20:22:43.884024598 +0100
|
|
||||||
+++ Python-3.9.5/Modules/faulthandler.c 2021-02-21 20:34:33.279189754 +0100
|
|
||||||
@@ -993,7 +993,7 @@
|
|
||||||
SetErrorMode(mode | SEM_NOGPFAULTERRORBOX);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
-#ifdef HAVE_SYS_RESOURCE_H
|
|
||||||
+#if 0
|
|
||||||
struct rlimit rl;
|
|
||||||
|
|
||||||
/* Disable creation of core dump */
|
|
Loading…
Add table
Add a link
Reference in a new issue