mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 01:27:44 +00:00
Ports: Update joe's patches to use git patches
This commit is contained in:
parent
ab83c669ea
commit
8a610b1bb9
6 changed files with 126 additions and 56 deletions
|
@ -0,0 +1,27 @@
|
|||
From becc61b31858199a1cff4278bb2239d05ff9d38f Mon Sep 17 00:00:00 2001
|
||||
From: Snow <i@xkun.me>
|
||||
Date: Sun, 15 May 2022 11:41:03 +0800
|
||||
Subject: [PATCH 1/4] Define __USE_MISC in checkwidths.c
|
||||
|
||||
Define `__USE_MISC` manually in `checkwidths.c` for `ECHOCTL` and `ECHOKE`,
|
||||
see `Kernel/API/POSIX/termios.h`.
|
||||
---
|
||||
joe/util/checkwidths.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/joe/util/checkwidths.c b/joe/util/checkwidths.c
|
||||
index 509447d..944faef 100644
|
||||
--- a/joe/util/checkwidths.c
|
||||
+++ b/joe/util/checkwidths.c
|
||||
@@ -5,6 +5,8 @@
|
||||
|
||||
*/
|
||||
|
||||
+#define __USE_MISC // for ECHOCTL and ECHOKE
|
||||
+
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
--
|
||||
2.36.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue