summaryrefslogtreecommitdiff
path: root/Ports/joe/patches
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-06-05 03:05:04 +0200
committerLinus Groh <mail@linusgroh.de>2022-06-08 17:58:36 +0100
commitd426c5a4b2eac839497cc2cbeee4b87a1c9ee422 (patch)
treec3484b5625b583fc7da9cc3a7f53b4dc69186fa5 /Ports/joe/patches
parentd69a79b03b8f2853b60773e38553d662a01ac269 (diff)
downloadserenity-d426c5a4b2eac839497cc2cbeee4b87a1c9ee422.zip
Ports: Format patches without numbering, commit hash or version number
Diffstat (limited to 'Ports/joe/patches')
-rw-r--r--Ports/joe/patches/0001-Define-__USE_MISC-in-checkwidths.c.patch7
-rw-r--r--Ports/joe/patches/0002-Remove-the-sys-prefix-for-the-fcntl-include.patch7
-rw-r--r--Ports/joe/patches/0003-Undefine-TERMINFO-in-termcap.c.patch7
3 files changed, 6 insertions, 15 deletions
diff --git a/Ports/joe/patches/0001-Define-__USE_MISC-in-checkwidths.c.patch b/Ports/joe/patches/0001-Define-__USE_MISC-in-checkwidths.c.patch
index d493fdd6fa..85d5257074 100644
--- a/Ports/joe/patches/0001-Define-__USE_MISC-in-checkwidths.c.patch
+++ b/Ports/joe/patches/0001-Define-__USE_MISC-in-checkwidths.c.patch
@@ -1,7 +1,7 @@
-From becc61b31858199a1cff4278bb2239d05ff9d38f Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Snow <i@xkun.me>
Date: Sun, 15 May 2022 11:41:03 +0800
-Subject: [PATCH 1/3] Define __USE_MISC in checkwidths.c
+Subject: [PATCH] Define __USE_MISC in checkwidths.c
Define `__USE_MISC` manually in `checkwidths.c` for `ECHOCTL` and `ECHOKE`,
see `Kernel/API/POSIX/termios.h`.
@@ -22,6 +22,3 @@ index 509447d..944faef 100644
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
---
-2.36.1
-
diff --git a/Ports/joe/patches/0002-Remove-the-sys-prefix-for-the-fcntl-include.patch b/Ports/joe/patches/0002-Remove-the-sys-prefix-for-the-fcntl-include.patch
index e81fbd8a0d..ea766f6bfd 100644
--- a/Ports/joe/patches/0002-Remove-the-sys-prefix-for-the-fcntl-include.patch
+++ b/Ports/joe/patches/0002-Remove-the-sys-prefix-for-the-fcntl-include.patch
@@ -1,7 +1,7 @@
-From 7136012c016c40b890ae4db5b3e4da4bf9b57caf Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Snow <i@xkun.me>
Date: Sun, 15 May 2022 11:41:03 +0800
-Subject: [PATCH 2/3] Remove the sys/ prefix for the fcntl include
+Subject: [PATCH] Remove the sys/ prefix for the fcntl include
Serenity does not have the header `fcntl.h` in `/usr/include/sys`.
---
@@ -21,6 +21,3 @@ index 944faef..e8e3441 100644
#include <termios.h>
#define TO_CHAR_OK(c) ((char)(c))
---
-2.36.1
-
diff --git a/Ports/joe/patches/0003-Undefine-TERMINFO-in-termcap.c.patch b/Ports/joe/patches/0003-Undefine-TERMINFO-in-termcap.c.patch
index ea5bc01f23..b8007ff22e 100644
--- a/Ports/joe/patches/0003-Undefine-TERMINFO-in-termcap.c.patch
+++ b/Ports/joe/patches/0003-Undefine-TERMINFO-in-termcap.c.patch
@@ -1,7 +1,7 @@
-From 07d7111359facb2e8ce95ca28743f3b38d991b25 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Snow <i@xkun.me>
Date: Sun, 15 May 2022 11:41:03 +0800
-Subject: [PATCH 3/3] Undefine TERMINFO in termcap.c
+Subject: [PATCH] Undefine TERMINFO in termcap.c
Leaving it defined will lead to a crash.
---
@@ -21,6 +21,3 @@ index 7f4a459..b6fb6f8 100644
#ifdef TERMINFO
#ifdef __CYGWIN__
---
-2.36.1
-