mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:37:34 +00:00
Ports: Update cmatrix's patches to use git patches
Also fixes one of the patches no longer applying.
This commit is contained in:
parent
57a98258aa
commit
ff7163e5b8
4 changed files with 54 additions and 14 deletions
|
@ -0,0 +1,26 @@
|
|||
From 444b507fab58b76f52fa54abef855a264e8e9e1a Mon Sep 17 00:00:00 2001
|
||||
From: Ali Mohammad Pur <ali.mpfard@gmail.com>
|
||||
Date: Tue, 17 May 2022 20:58:39 +0430
|
||||
Subject: [PATCH 2/2] Include curses.h from <ncurses> in serenity
|
||||
|
||||
Co-Authored-By: Manuel Palenzuela <manuelpalenzuelamerino@gmail.com>
|
||||
---
|
||||
cmatrix.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/cmatrix.c b/cmatrix.c
|
||||
index 7e3fbb9..0d1053f 100644
|
||||
--- a/cmatrix.c
|
||||
+++ b/cmatrix.c
|
||||
@@ -48,7 +48,7 @@
|
||||
#ifdef HAVE_NCURSES_H
|
||||
#include <ncurses.h>
|
||||
#else
|
||||
-#ifdef _WIN32
|
||||
+#ifdef _WIN32 || defined(__serenity__)
|
||||
#include <ncurses/curses.h>
|
||||
#else
|
||||
#include <curses.h>
|
||||
--
|
||||
2.36.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue