summaryrefslogtreecommitdiff
path: root/Ports/make/patches
diff options
context:
space:
mode:
authorLarkin <45925460+larb0b@users.noreply.github.com>2019-09-24 02:56:39 -0400
committerAndreas Kling <awesomekling@gmail.com>2019-09-24 08:56:39 +0200
commit18249b599634be4162b4ddbb32f002c75ee07060 (patch)
treedd7c700f0f0833ffffc782995da3108d82c43a3e /Ports/make/patches
parentd5f1c57fe2cc7cf863b4c99b4d11460f3b547c2c (diff)
downloadserenity-18249b599634be4162b4ddbb32f002c75ee07060.zip
Ports: Switch to new ports system (#594)
Much redundancy is removed from package scripts with this system. It also supports simple dependency management, uninstalling (through BSD ports style plist files), cleaning up after itself (with clean, clean_dist, clean_all commands), etc.
Diffstat (limited to 'Ports/make/patches')
-rw-r--r--Ports/make/patches/make-4.2-serenity.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/Ports/make/patches/make-4.2-serenity.patch b/Ports/make/patches/make-4.2-serenity.patch
new file mode 100644
index 0000000000..a921ccc02b
--- /dev/null
+++ b/Ports/make/patches/make-4.2-serenity.patch
@@ -0,0 +1,23 @@
+diff -ru make/arscan.c make-serenity/arscan.c
+--- make/arscan.c 2016-05-21 22:21:52.000000000 +0200
++++ make-serenity/arscan.c 2019-07-21 16:11:09.161133749 +0200
+@@ -331,7 +331,7 @@
+ #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
+diff -ru make/config/config.sub make-serenity/config/config.sub
+--- make/config/config.sub 2016-05-22 15:27:16.000000000 +0200
++++ make-serenity/config/config.sub 2019-07-21 16:15:39.469065104 +0200
+@@ -1374,6 +1374,7 @@
+ # Each alternative MUST END IN A *, to match a version number.
+ # -sysv* is not here because it comes later, after sysvr4.
+ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
++ | -serenity* \
+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
+ | -sym* | -kopensolaris* | -plan9* \