ladybird/Ports/RetroArch/patches/0003-Add-strlcat.patch

24 lines
609 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: gouchi <gouchi@free.fr>
Date: Sat, 7 May 2022 18:20:35 +0200
Subject: [PATCH] Add strlcat()
---
Makefile.common | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Makefile.common b/Makefile.common
index 580beba..dbfbd39 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -186,6 +186,10 @@ ifneq ($(findstring Linux,$(OS)),)
HAVE_UNIX = 1
endif
+ifneq ($(findstring SerenityOS,$(OS)),)
+ OBJ += $(LIBRETRO_COMM_DIR)/compat/compat_strl.o
+endif
+
ifeq ($(HAVE_UNIX), 1)
OBJ += frontend/drivers/platform_unix.o