diff options
author | Linus Groh <mail@linusgroh.de> | 2021-05-09 17:11:02 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-09 17:11:02 +0100 |
commit | 2cbe510e8946b5921b795080a5bee805c6890aa5 (patch) | |
tree | 2f7263bae948b6e684f8efbd2bbab13d948f6a62 /Ports/python3/patches | |
parent | cf93512abe63350cc0f0f6fd323087ca02829a8f (diff) | |
download | serenity-2cbe510e8946b5921b795080a5bee805c6890aa5.zip |
Ports: Remove obsolete rlimit patch for Python
Stubs for getrlimit()/setrlimit() have been added in 1c3c072.
Diffstat (limited to 'Ports/python3/patches')
-rw-r--r-- | Ports/python3/patches/ReadMe.md | 4 | ||||
-rw-r--r-- | Ports/python3/patches/disable-setrlimit.patch | 11 |
2 files changed, 0 insertions, 15 deletions
diff --git a/Ports/python3/patches/ReadMe.md b/Ports/python3/patches/ReadMe.md index 08724930b1..059563c232 100644 --- a/Ports/python3/patches/ReadMe.md +++ b/Ports/python3/patches/ReadMe.md @@ -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. diff --git a/Ports/python3/patches/disable-setrlimit.patch b/Ports/python3/patches/disable-setrlimit.patch deleted file mode 100644 index 2fef3b8467..0000000000 --- a/Ports/python3/patches/disable-setrlimit.patch +++ /dev/null @@ -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 */ |