mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:17:35 +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,26 @@
|
|||
From 7136012c016c40b890ae4db5b3e4da4bf9b57caf Mon Sep 17 00:00:00 2001
|
||||
From: Snow <i@xkun.me>
|
||||
Date: Sun, 15 May 2022 11:41:03 +0800
|
||||
Subject: [PATCH 2/4] Remove the sys/ prefix for the fcntl include
|
||||
|
||||
Serenity does not have the header `fcntl.h` in `/usr/include/sys`.
|
||||
---
|
||||
joe/util/checkwidths.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/joe/util/checkwidths.c b/joe/util/checkwidths.c
|
||||
index 944faef..e8e3441 100644
|
||||
--- a/joe/util/checkwidths.c
|
||||
+++ b/joe/util/checkwidths.c
|
||||
@@ -14,7 +14,7 @@
|
||||
#include <arpa/inet.h>
|
||||
#include <stddef.h>
|
||||
#include <poll.h>
|
||||
-#include <sys/fcntl.h>
|
||||
+#include <fcntl.h> // the prefix "sys/" is not needed on serenity
|
||||
#include <termios.h>
|
||||
|
||||
#define TO_CHAR_OK(c) ((char)(c))
|
||||
--
|
||||
2.36.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue