summaryrefslogtreecommitdiff
path: root/Ports/citron/patches
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/citron/patches')
-rw-r--r--Ports/citron/patches/0001-Get-rid-of-wordexp-on-serenity.patch7
-rw-r--r--Ports/citron/patches/0002-Make-fiber-a-noop.patch7
-rw-r--r--Ports/citron/patches/0003-Make-coroutines-a-noop.patch7
-rw-r--r--Ports/citron/patches/0004-Don-t-mess-with-libsocket.patch7
-rw-r--r--Ports/citron/patches/0005-Disable-inject.patch7
-rw-r--r--Ports/citron/patches/0006-Disable-openmp.patch7
-rw-r--r--Ports/citron/patches/0007-Disable-GC-on-serenity.patch7
-rw-r--r--Ports/citron/patches/0008-Don-t-use-libbsd-on-serenity.patch7
-rw-r--r--Ports/citron/patches/0009-Disable-boehm-GC-on-serenity.patch7
9 files changed, 18 insertions, 45 deletions
diff --git a/Ports/citron/patches/0001-Get-rid-of-wordexp-on-serenity.patch b/Ports/citron/patches/0001-Get-rid-of-wordexp-on-serenity.patch
index 003c8b50ac..9b4c447e0f 100644
--- a/Ports/citron/patches/0001-Get-rid-of-wordexp-on-serenity.patch
+++ b/Ports/citron/patches/0001-Get-rid-of-wordexp-on-serenity.patch
@@ -1,7 +1,7 @@
-From 55c1e96ff844e75a9bf07114e00e27fabb7f54ee Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ali Mohammad Pur <ali.mpfard@gmail.com>
Date: Fri, 11 Feb 2022 16:13:52 +0330
-Subject: [PATCH 1/9] Get rid of wordexp on serenity
+Subject: [PATCH] Get rid of wordexp on serenity
---
src/file.c | 15 ++++++++++++++-
@@ -74,6 +74,3 @@ index a3bfd16..720a6e5 100644
}
/**
---
-2.34.1
-
diff --git a/Ports/citron/patches/0002-Make-fiber-a-noop.patch b/Ports/citron/patches/0002-Make-fiber-a-noop.patch
index c76f6354e9..81ab7637b8 100644
--- a/Ports/citron/patches/0002-Make-fiber-a-noop.patch
+++ b/Ports/citron/patches/0002-Make-fiber-a-noop.patch
@@ -1,7 +1,7 @@
-From 9dd73dc37156e39a03cbf4c2af0d754bf84882ab Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ali Mohammad Pur <ali.mpfard@gmail.com>
Date: Fri, 11 Feb 2022 16:32:42 +0330
-Subject: [PATCH 2/9] Make fiber a noop
+Subject: [PATCH] Make fiber a noop
Serenity doesn't have ucontext.
---
@@ -141,6 +141,3 @@ index e8a99f1..23afae6 100644
CtrStdFiber->info.sticky = 1;
ctr_internal_object_add_property(
---
-2.34.1
-
diff --git a/Ports/citron/patches/0003-Make-coroutines-a-noop.patch b/Ports/citron/patches/0003-Make-coroutines-a-noop.patch
index aa3bb707d0..46d09b206a 100644
--- a/Ports/citron/patches/0003-Make-coroutines-a-noop.patch
+++ b/Ports/citron/patches/0003-Make-coroutines-a-noop.patch
@@ -1,7 +1,7 @@
-From ee5ca4723aa24d850d13c9a3fcbf7f23250cc4b7 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ali Mohammad Pur <ali.mpfard@gmail.com>
Date: Fri, 11 Feb 2022 16:37:54 +0330
-Subject: [PATCH 3/9] Make coroutines a noop
+Subject: [PATCH] Make coroutines a noop
Serenity doesn't have ucontext.
---
@@ -172,6 +172,3 @@ index 8497869..8215cfa 100644
+ return 0;
+#endif
+}
---
-2.34.1
-
diff --git a/Ports/citron/patches/0004-Don-t-mess-with-libsocket.patch b/Ports/citron/patches/0004-Don-t-mess-with-libsocket.patch
index e523bb3c09..564530ef76 100644
--- a/Ports/citron/patches/0004-Don-t-mess-with-libsocket.patch
+++ b/Ports/citron/patches/0004-Don-t-mess-with-libsocket.patch
@@ -1,7 +1,7 @@
-From 3f73149c75a5755c2b45334abe682dd4b970144b Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ali Mohammad Pur <ali.mpfard@gmail.com>
Date: Fri, 11 Feb 2022 16:46:16 +0330
-Subject: [PATCH 4/9] Don't mess with libsocket
+Subject: [PATCH] Don't mess with libsocket
---
makefile | 8 +-------
@@ -47,6 +47,3 @@ index ded4d5a..b262cd0 100644
$(BUILDDIR)/%.o: src/%.c
$(CC) -fopenmp $(CFLAGS) -c $< -o $@
---
-2.34.1
-
diff --git a/Ports/citron/patches/0005-Disable-inject.patch b/Ports/citron/patches/0005-Disable-inject.patch
index 50b1476437..ffc06445fd 100644
--- a/Ports/citron/patches/0005-Disable-inject.patch
+++ b/Ports/citron/patches/0005-Disable-inject.patch
@@ -1,7 +1,7 @@
-From 345758e53e21b23c716c2efccdaccf5434f16f0e Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ali Mohammad Pur <ali.mpfard@gmail.com>
Date: Fri, 11 Feb 2022 16:49:59 +0330
-Subject: [PATCH 5/9] Disable inject
+Subject: [PATCH] Disable inject
tcc requires ucontext.
---
@@ -21,6 +21,3 @@ index b262cd0..2e05795 100644
enable_ctypes ?= true
enable_inline_asm ?= false
enable_boehm_gc ?= true
---
-2.34.1
-
diff --git a/Ports/citron/patches/0006-Disable-openmp.patch b/Ports/citron/patches/0006-Disable-openmp.patch
index 5fb7d3bbf6..db2ae3c0b1 100644
--- a/Ports/citron/patches/0006-Disable-openmp.patch
+++ b/Ports/citron/patches/0006-Disable-openmp.patch
@@ -1,7 +1,7 @@
-From e4b172e0a9db3eaa0c9c14c477e26185a2a596de Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ali Mohammad Pur <ali.mpfard@gmail.com>
Date: Fri, 11 Feb 2022 16:52:51 +0330
-Subject: [PATCH 6/9] Disable openmp
+Subject: [PATCH] Disable openmp
---
makefile | 4 ++--
@@ -29,6 +29,3 @@ index 2e05795..d916511 100644
$(BUILDDIR)/%.o: src/%.cpp
$(CXX) -g $(CFLAGS) -c $< $(CXXFLAGS) -o $@
---
-2.34.1
-
diff --git a/Ports/citron/patches/0007-Disable-GC-on-serenity.patch b/Ports/citron/patches/0007-Disable-GC-on-serenity.patch
index 953a5edbd8..b7206c8c8c 100644
--- a/Ports/citron/patches/0007-Disable-GC-on-serenity.patch
+++ b/Ports/citron/patches/0007-Disable-GC-on-serenity.patch
@@ -1,7 +1,7 @@
-From 88242bebd8381deef7598470ed74c23dbffaacb4 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ali Mohammad Pur <ali.mpfard@gmail.com>
Date: Fri, 11 Feb 2022 18:29:07 +0330
-Subject: [PATCH 7/9] Disable GC on serenity
+Subject: [PATCH] Disable GC on serenity
---
src/memory.c | 4 ++++
@@ -55,6 +55,3 @@ index e42d09a..a6856b8 100644
ctr_object* previousObject = NULL;
ctr_object* currentObject = ctr_first_object;
ctr_object* nextObject = NULL;
---
-2.34.1
-
diff --git a/Ports/citron/patches/0008-Don-t-use-libbsd-on-serenity.patch b/Ports/citron/patches/0008-Don-t-use-libbsd-on-serenity.patch
index ba2938f617..bef519a15d 100644
--- a/Ports/citron/patches/0008-Don-t-use-libbsd-on-serenity.patch
+++ b/Ports/citron/patches/0008-Don-t-use-libbsd-on-serenity.patch
@@ -1,7 +1,7 @@
-From 6e802d3d52c160ca31bc9f7d1b9bb875569e3417 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ali Mohammad Pur <ali.mpfard@gmail.com>
Date: Sun, 13 Feb 2022 17:03:21 +0330
-Subject: [PATCH 8/9] Don't use libbsd on serenity
+Subject: [PATCH] Don't use libbsd on serenity
arc4random exists on serenity, there's no need to pull libbsd in for
functionality that already exists.
@@ -22,6 +22,3 @@ index d916511..d1ce70d 100644
CFLAGS += -Wall -Wextra -Wno-unused-parameter\
-D withTermios -D CTR_STD_EXTENSION_PATH=\"$(DATADIR)\"
---
-2.34.1
-
diff --git a/Ports/citron/patches/0009-Disable-boehm-GC-on-serenity.patch b/Ports/citron/patches/0009-Disable-boehm-GC-on-serenity.patch
index 6a0e7f8d1e..21cf33d485 100644
--- a/Ports/citron/patches/0009-Disable-boehm-GC-on-serenity.patch
+++ b/Ports/citron/patches/0009-Disable-boehm-GC-on-serenity.patch
@@ -1,7 +1,7 @@
-From adb932228a5b24159d98c53c51281cfae238b57b Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ali Mohammad Pur <ali.mpfard@gmail.com>
Date: Sun, 13 Feb 2022 17:04:46 +0330
-Subject: [PATCH 9/9] Disable boehm GC on serenity
+Subject: [PATCH] Disable boehm GC on serenity
Serenity doesn't have a bdwgc port, so disable it here.
---
@@ -21,6 +21,3 @@ index d1ce70d..307bf1c 100644
use_libbsd ?= false
CFLAGS += -Wall -Wextra -Wno-unused-parameter\
---
-2.34.1
-