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

Ports: Update c-ray's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-17 21:31:44 +04:30 committed by Ali Mohammad Pur
parent 8b9302890e
commit 4874465018
17 changed files with 654 additions and 105 deletions

View file

@ -0,0 +1,26 @@
From dc634f4d49c98a7c0243b568631c626cd3da4125 Mon Sep 17 00:00:00 2001
From: Linus Groh <mail@linusgroh.de>
Date: Sat, 13 Mar 2021 22:11:07 +0100
Subject: [PATCH 2/8] Disable checkBuf() on serenity
Co-Authored-By: Valtteri Koskivuori <vkoskiv@gmail.com>
---
src/utils/fileio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/utils/fileio.c b/src/utils/fileio.c
index 6365973..2edfed8 100644
--- a/src/utils/fileio.c
+++ b/src/utils/fileio.c
@@ -147,7 +147,7 @@ bool isValidFile(char *path) {
//Wait for 2 secs and abort if nothing is coming in from stdin
void checkBuf() {
-#ifndef WINDOWS
+#if !defined(WINDOWS) && !defined(__serenity__)
fd_set set;
struct timeval timeout;
int rv;
--
2.36.1