1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-24 09:15:08 +00:00
serenity/Ports/zsh/patches/0002-add-serenity.patch
Thiago Henrique Hupner d0bed24ca1 Ports: Add ZSH port
2021-06-09 19:41:23 +01:00

11 lines
563 B
Diff

--- zsh-zsh-5.8/Src/original-zsh_system.h 2021-06-05 08:17:15.364000000 -0300
+++ zsh-zsh-5.8/Src/zsh_system.h 2021-06-04 23:05:07.793197002 -0300
@@ -556,7 +556,7 @@
#ifdef HAVE_SYS_RESOURCE_H
# include <sys/resource.h>
-# if defined(__hpux) && !defined(RLIMIT_CPU)
+# if (defined(__hpux) && !defined(RLIMIT_CPU)) || defined(__serenity__)
/* HPUX does have the BSD rlimits in the kernel. Officially they are *
* unsupported but quite a few of them like RLIMIT_CORE seem to work. *
* All the following are in the <sys/resource.h> but made visible *