1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 01:27:44 +00:00

Ports: Replace the joe config.sub patch with our download

This commit is contained in:
Tim Schumacher 2022-05-25 22:25:14 +02:00 committed by Linus Groh
parent 7ceccb7b82
commit 1371d1d952
6 changed files with 5 additions and 34 deletions

View file

@ -0,0 +1,26 @@
From 07d7111359facb2e8ce95ca28743f3b38d991b25 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
Leaving it defined will lead to a crash.
---
joe/termcap.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/joe/termcap.c b/joe/termcap.c
index 7f4a459..b6fb6f8 100644
--- a/joe/termcap.c
+++ b/joe/termcap.c
@@ -7,6 +7,8 @@
*/
#include "types.h"
+#undef TERMINFO // undefine this manually, or it will lead crash
+
#ifdef TERMINFO
#ifdef __CYGWIN__
--
2.36.1