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

Ports: Update openttd's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-16 22:55:50 +04:30 committed by Ali Mohammad Pur
parent 2c71a62e09
commit 32c380b7f9
11 changed files with 201 additions and 78 deletions

View file

@ -0,0 +1,25 @@
From 42d2fd4d5ab2aa8883f3722c9008e7413980a755 Mon Sep 17 00:00:00 2001
From: Gunnar Beutner <gbeutner@serenityos.org>
Date: Sat, 17 Apr 2021 15:40:17 +0200
Subject: [PATCH 6/6] Don't set any signal handlers
---
src/os/unix/crashlog_unix.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/os/unix/crashlog_unix.cpp b/src/os/unix/crashlog_unix.cpp
index fc3682d..32b5f1e 100644
--- a/src/os/unix/crashlog_unix.cpp
+++ b/src/os/unix/crashlog_unix.cpp
@@ -178,7 +178,7 @@ static void CDECL HandleCrash(int signum)
/* static */ void CrashLog::InitialiseCrashLog()
{
for (const int *i = _signals_to_handle; i != endof(_signals_to_handle); i++) {
- signal(*i, HandleCrash);
+ //signal(*i, HandleCrash);
}
}
--
2.36.1