1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 06:57:45 +00:00

Ports: Add Julius

This commit is contained in:
Justin Brown 2023-08-08 18:54:26 -07:00 committed by Tim Schumacher
parent 51ee37ed76
commit ec0bf937a2
4 changed files with 53 additions and 0 deletions

View file

@ -0,0 +1,22 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Justin Brown <behindcurtain3@gmail.com>
Date: Tue, 8 Aug 2023 18:47:06 -0700
Subject: [PATCH] Skip including execinfo.h for Serenity
---
src/core/backtrace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/core/backtrace.c b/src/core/backtrace.c
index 025bac7c7cc5058a8372ecfc3862ac31a6cb1310..693bb5c1ff0c1b43d58803d51c95a3ae9e5165f0 100644
--- a/src/core/backtrace.c
+++ b/src/core/backtrace.c
@@ -4,7 +4,7 @@
#if defined(__GNUC__) && !defined(__MINGW32__) && !defined(__OpenBSD__) && \
!defined(__vita__) && !defined(__SWITCH__) && !defined(__ANDROID__) && \
- !defined(__HAIKU__) && !defined(__EMSCRIPTEN__)
+ !defined(__HAIKU__) && !defined(__EMSCRIPTEN__) && !defined(__serenity__)
#include <execinfo.h>

View file

@ -0,0 +1,7 @@
# Patches for julius on SerenityOS
## `0001-Skip-including-execinfo.h-for-Serenity.patch`
Skip including execinfo.h for Serenity