Ports: Remove obsolete rlimit patch for Python

Stubs for getrlimit()/setrlimit() have been added in 1c3c072.
This commit is contained in:
Linus Groh 2021-05-09 17:11:02 +01:00
parent cf93512abe
commit 2cbe510e89
Notes: sideshowbarker 2024-07-18 18:25:58 +09:00
2 changed files with 0 additions and 15 deletions

View file

@ -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`.
## `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`
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.

View file

@ -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 */