summaryrefslogtreecommitdiff
path: root/Ports/c-ray/patches
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/c-ray/patches')
-rw-r--r--Ports/c-ray/patches/0001-Add-a-dummy-configure-file.patch7
-rw-r--r--Ports/c-ray/patches/0002-Disable-checkBuf-on-serenity.patch7
-rw-r--r--Ports/c-ray/patches/0003-Let-c-ray-define-its-own-version-of-vasprintf.patch7
-rw-r--r--Ports/c-ray/patches/0004-Link-with-the-needed-serenity-libraries.patch7
-rw-r--r--Ports/c-ray/patches/0005-Use-usleep-on-serenity.patch7
-rw-r--r--Ports/c-ray/patches/0006-Reduce-HDR-scene-settings-a-bit.patch7
-rw-r--r--Ports/c-ray/patches/0007-Replace-the-micro-symbol-with-a-u.patch7
-rw-r--r--Ports/c-ray/patches/0008-Make-SDL-use-software-rendering.patch7
8 files changed, 16 insertions, 40 deletions
diff --git a/Ports/c-ray/patches/0001-Add-a-dummy-configure-file.patch b/Ports/c-ray/patches/0001-Add-a-dummy-configure-file.patch
index 17e88dcd8a..b3d0721042 100644
--- a/Ports/c-ray/patches/0001-Add-a-dummy-configure-file.patch
+++ b/Ports/c-ray/patches/0001-Add-a-dummy-configure-file.patch
@@ -1,7 +1,7 @@
-From a91deb390a4765985718c4821c0306d433c036f5 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Valtteri Koskivuori <vkoskiv@gmail.com>
Date: Tue, 25 Feb 2020 22:03:47 +0200
-Subject: [PATCH 1/8] Add a dummy configure file
+Subject: [PATCH] Add a dummy configure file
---
configure | 1 +
@@ -15,6 +15,3 @@ index 0000000..04bfb39
+++ b/configure
@@ -0,0 +1 @@
+#nop
---
-2.36.1
-
diff --git a/Ports/c-ray/patches/0002-Disable-checkBuf-on-serenity.patch b/Ports/c-ray/patches/0002-Disable-checkBuf-on-serenity.patch
index 8aece05846..73e703f4c6 100644
--- a/Ports/c-ray/patches/0002-Disable-checkBuf-on-serenity.patch
+++ b/Ports/c-ray/patches/0002-Disable-checkBuf-on-serenity.patch
@@ -1,7 +1,7 @@
-From dc634f4d49c98a7c0243b568631c626cd3da4125 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Linus Groh <mail@linusgroh.de>
Date: Sat, 13 Mar 2021 22:11:07 +0100
-Subject: [PATCH 2/8] Disable checkBuf() on serenity
+Subject: [PATCH] Disable checkBuf() on serenity
Co-Authored-By: Valtteri Koskivuori <vkoskiv@gmail.com>
---
@@ -21,6 +21,3 @@ index 6365973..2edfed8 100644
fd_set set;
struct timeval timeout;
int rv;
---
-2.36.1
-
diff --git a/Ports/c-ray/patches/0003-Let-c-ray-define-its-own-version-of-vasprintf.patch b/Ports/c-ray/patches/0003-Let-c-ray-define-its-own-version-of-vasprintf.patch
index 6cb25072f8..dc0a759977 100644
--- a/Ports/c-ray/patches/0003-Let-c-ray-define-its-own-version-of-vasprintf.patch
+++ b/Ports/c-ray/patches/0003-Let-c-ray-define-its-own-version-of-vasprintf.patch
@@ -1,7 +1,7 @@
-From e9b3bd5acd86ffe35b0f4e22bf615b53e0af261c Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Linus Groh <mail@linusgroh.de>
Date: Sat, 13 Mar 2021 22:11:07 +0100
-Subject: [PATCH 3/8] Let c-ray define its own version of vasprintf
+Subject: [PATCH] Let c-ray define its own version of vasprintf
Co-Authored-By: Valtteri Koskivuori <vkoskiv@gmail.com>
---
@@ -21,6 +21,3 @@ index 70a95ac..7571e8a 100644
int cray_vasprintf(char **strp, const char *format, va_list ap) {
int len = vscprintf(format, ap);
if (len == -1)
---
-2.36.1
-
diff --git a/Ports/c-ray/patches/0004-Link-with-the-needed-serenity-libraries.patch b/Ports/c-ray/patches/0004-Link-with-the-needed-serenity-libraries.patch
index f66e8377fd..63febe3874 100644
--- a/Ports/c-ray/patches/0004-Link-with-the-needed-serenity-libraries.patch
+++ b/Ports/c-ray/patches/0004-Link-with-the-needed-serenity-libraries.patch
@@ -1,7 +1,7 @@
-From 031255918e1421e343aedaaeb3a71b77a01dbe60 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Linus Groh <mail@linusgroh.de>
Date: Fri, 1 Apr 2022 01:55:25 +0200
-Subject: [PATCH 4/8] Link with the needed serenity libraries
+Subject: [PATCH] Link with the needed serenity libraries
Co-Authored-By: Valtteri Koskivuori <vkoskiv@gmail.com>
Co-Authored-By: EWouters <6179932+EWouters@users.noreply.github.com>
@@ -22,6 +22,3 @@ index 20f8440..dc254b5 100644
endif ()
include(CheckIPOSupported)
---
-2.36.1
-
diff --git a/Ports/c-ray/patches/0005-Use-usleep-on-serenity.patch b/Ports/c-ray/patches/0005-Use-usleep-on-serenity.patch
index da561d716f..c2cae4cad2 100644
--- a/Ports/c-ray/patches/0005-Use-usleep-on-serenity.patch
+++ b/Ports/c-ray/patches/0005-Use-usleep-on-serenity.patch
@@ -1,7 +1,7 @@
-From 2bbcdcb8ca63d8a9cf475b148f9f11f97df14c35 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Linus Groh <mail@linusgroh.de>
Date: Sat, 13 Mar 2021 22:11:07 +0100
-Subject: [PATCH 5/8] Use usleep() on serenity
+Subject: [PATCH] Use usleep() on serenity
Co-Authored-By: Valtteri Koskivuori <vkoskiv@gmail.com>
---
@@ -30,6 +30,3 @@ index dd83497..3a4357f 100644
usleep(ms * 1000);
#endif
}
---
-2.36.1
-
diff --git a/Ports/c-ray/patches/0006-Reduce-HDR-scene-settings-a-bit.patch b/Ports/c-ray/patches/0006-Reduce-HDR-scene-settings-a-bit.patch
index 0d0b8f1c67..ad436da076 100644
--- a/Ports/c-ray/patches/0006-Reduce-HDR-scene-settings-a-bit.patch
+++ b/Ports/c-ray/patches/0006-Reduce-HDR-scene-settings-a-bit.patch
@@ -1,7 +1,7 @@
-From 252852219ee147c38a885ea3f1e6118244f7f57d Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Valtteri Koskivuori <vkoskiv@gmail.com>
Date: Sat, 13 Mar 2021 22:11:07 +0100
-Subject: [PATCH 6/8] Reduce HDR scene settings a bit
+Subject: [PATCH] Reduce HDR scene settings a bit
---
input/hdr.json | 6 +++---
@@ -31,6 +31,3 @@ index f2f45b1..b7b5b63 100644
},
"display": {
"isFullscreen": false,
---
-2.36.1
-
diff --git a/Ports/c-ray/patches/0007-Replace-the-micro-symbol-with-a-u.patch b/Ports/c-ray/patches/0007-Replace-the-micro-symbol-with-a-u.patch
index 27e40a9a34..1468beb7e6 100644
--- a/Ports/c-ray/patches/0007-Replace-the-micro-symbol-with-a-u.patch
+++ b/Ports/c-ray/patches/0007-Replace-the-micro-symbol-with-a-u.patch
@@ -1,7 +1,7 @@
-From bcf1e45d9975ff326d874eb60abaa148b321eb78 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Valtteri Koskivuori <vkoskiv@gmail.com>
Date: Sat, 17 Apr 2021 08:30:03 +0000
-Subject: [PATCH 7/8] Replace the micro symbol with a 'u'
+Subject: [PATCH] Replace the micro symbol with a 'u'
Co-Authored-By: Linus Groh <mail@linusgroh.de>
Co-Authored-By: Valtteri Koskivuori <vkoskiv@gmail.com>
@@ -22,6 +22,3 @@ index fe0e44e..6e5e20f 100644
KBLU,
interactive ? ((float)r->state.finishedPasses / (float)r->prefs.sampleCount) * 100.0f :
((float)r->state.finishedTileCount / (float)r->state.tileCount) * 100.0f,
---
-2.36.1
-
diff --git a/Ports/c-ray/patches/0008-Make-SDL-use-software-rendering.patch b/Ports/c-ray/patches/0008-Make-SDL-use-software-rendering.patch
index e4da6eb8d7..95f331ae2c 100644
--- a/Ports/c-ray/patches/0008-Make-SDL-use-software-rendering.patch
+++ b/Ports/c-ray/patches/0008-Make-SDL-use-software-rendering.patch
@@ -1,7 +1,7 @@
-From e552e1be81f8873930f3a75c051cf1efb2069b64 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Linus Groh <mail@linusgroh.de>
Date: Sat, 13 Mar 2021 22:11:07 +0100
-Subject: [PATCH 8/8] Make SDL use software rendering
+Subject: [PATCH] Make SDL use software rendering
Serenity does not support accelerated rendering
@@ -23,6 +23,3 @@ index 89553c7..4a52e6c 100644
if (gdisplay->renderer == NULL) {
logr(warning, "Renderer couldn't be created, error: \"%s\"\n", SDL_GetError());
destroyDisplay();
---
-2.36.1
-