summaryrefslogtreecommitdiff
path: root/Ports/make/patches/0001-Include-ar.h-for-serenity-as-well.patch
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2022-05-16 19:21:52 +0430
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2022-05-19 20:17:10 +0430
commit490e97233dc9611e575bccd12c12d34138204431 (patch)
treef209e137e6f600507b47a51bf733858ec1ba5588 /Ports/make/patches/0001-Include-ar.h-for-serenity-as-well.patch
parent2ec53fd9c0538af0b4724d552fc88f6bc3bcf13d (diff)
downloadserenity-490e97233dc9611e575bccd12c12d34138204431.zip
Ports: Update make's patches to use git patches
Diffstat (limited to 'Ports/make/patches/0001-Include-ar.h-for-serenity-as-well.patch')
-rw-r--r--Ports/make/patches/0001-Include-ar.h-for-serenity-as-well.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/Ports/make/patches/0001-Include-ar.h-for-serenity-as-well.patch b/Ports/make/patches/0001-Include-ar.h-for-serenity-as-well.patch
new file mode 100644
index 0000000000..1238336d06
--- /dev/null
+++ b/Ports/make/patches/0001-Include-ar.h-for-serenity-as-well.patch
@@ -0,0 +1,25 @@
+From 19fb459471d6242aca08bfc25465eccf05ea767e Mon Sep 17 00:00:00 2001
+From: Andreas Kling <kling@serenityos.org>
+Date: Tue, 15 Dec 2020 01:06:18 +0100
+Subject: [PATCH 1/3] Include ar.h for serenity as well
+
+---
+ src/arscan.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/arscan.c b/src/arscan.c
+index 3ce21db..c48a569 100644
+--- a/src/arscan.c
++++ b/src/arscan.c
+@@ -331,7 +331,7 @@ ar_scan (const char *archive, ar_member_func_t function, const void *varg)
+ #endif
+
+ #ifndef WINDOWS32
+-# if !defined (__ANDROID__) && !defined (__BEOS__)
++# if !defined (__ANDROID__) && !defined (__BEOS__) && !defined(__serenity__)
+ # include <ar.h>
+ # else
+ /* These platforms don't have <ar.h> but have archives in the same format
+--
+2.36.1
+