1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 13:07:46 +00:00

Ports: Format patches without numbering, commit hash or version number

This commit is contained in:
Tim Schumacher 2022-06-05 03:05:04 +02:00 committed by Linus Groh
parent d69a79b03b
commit d426c5a4b2
371 changed files with 806 additions and 1884 deletions

View file

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

View file

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

View file

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