diff options
author | Thiago Henrique Hupner <thihup@gmail.com> | 2021-06-05 08:31:13 -0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-06-09 19:41:23 +0100 |
commit | d0bed24ca1595a5f426a66dc715dc5054e637c97 (patch) | |
tree | a52aae297bba426887b2233774038520b9a1a005 /Ports/zsh/patches | |
parent | 4850cf90691e0c59f0e5d8ff501fa8620f602fa4 (diff) | |
download | serenity-d0bed24ca1595a5f426a66dc715dc5054e637c97.zip |
Ports: Add ZSH port
Diffstat (limited to 'Ports/zsh/patches')
-rw-r--r-- | Ports/zsh/patches/0001-add-serenity-config-sub.patch | 11 | ||||
-rw-r--r-- | Ports/zsh/patches/0002-add-serenity.patch | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/Ports/zsh/patches/0001-add-serenity-config-sub.patch b/Ports/zsh/patches/0001-add-serenity-config-sub.patch new file mode 100644 index 0000000000..ac3318512f --- /dev/null +++ b/Ports/zsh/patches/0001-add-serenity-config-sub.patch @@ -0,0 +1,11 @@ +--- zsh-zsh-5.8/original-config.sub 2021-06-04 22:59:03.710400955 -0300 ++++ zsh-zsh-5.8/config.sub 2021-06-04 23:01:41.573688625 -0300 +@@ -1516,6 +1516,8 @@ + ;; + *-eabi) + ;; ++ serenity*) ++ ;; + *) + echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2 + exit 1 diff --git a/Ports/zsh/patches/0002-add-serenity.patch b/Ports/zsh/patches/0002-add-serenity.patch new file mode 100644 index 0000000000..a7ccf37f71 --- /dev/null +++ b/Ports/zsh/patches/0002-add-serenity.patch @@ -0,0 +1,11 @@ +--- 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 * |