summaryrefslogtreecommitdiff
path: root/Ports/c-ray
diff options
context:
space:
mode:
authorEWouters <6179932+EWouters@users.noreply.github.com>2022-04-01 01:55:25 +0200
committerBrian Gianforcaro <b.gianfo@gmail.com>2022-04-11 19:43:56 -0700
commit67ce82ba976d3f318464aad69a8667c959961fd9 (patch)
tree806d0521014f1b37c8328fbb972ce0fe8317ba96 /Ports/c-ray
parent711e317bd5dbb7eb55016a63a822dc2007bc1e4b (diff)
downloadserenity-67ce82ba976d3f318464aad69a8667c959961fd9.zip
Ports/c-ray: Update c-ray to git commit 8f30eb9
Part of the fix-linkage patch is removed as the changes are no longer required.
Diffstat (limited to 'Ports/c-ray')
-rwxr-xr-xPorts/c-ray/package.sh4
-rw-r--r--Ports/c-ray/patches/fix-linkage.patch9
2 files changed, 2 insertions, 11 deletions
diff --git a/Ports/c-ray/package.sh b/Ports/c-ray/package.sh
index c8428f102d..548ea2eca9 100755
--- a/Ports/c-ray/package.sh
+++ b/Ports/c-ray/package.sh
@@ -1,8 +1,8 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=c-ray
-version=c094d64570c30c70f4003e9428d31a2a0d9d3d41
+version=8f30eb9904a4d20a78e9387d79dc049c5ed69b0c
useconfigure=true
-files="https://github.com/vkoskiv/c-ray/archive/${version}.tar.gz ${version}.tar.gz 1e0663a1d83e8a9984aced33b9307471f3302c8a5ea7ec47954854d60902a747"
+files="https://github.com/vkoskiv/c-ray/archive/${version}.tar.gz ${version}.tar.gz 27fa6496721faf69f18dc0946f0747b64f3ced748440a8f906f51fcb7e5cb008"
auth_type=sha256
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
depends=("SDL2")
diff --git a/Ports/c-ray/patches/fix-linkage.patch b/Ports/c-ray/patches/fix-linkage.patch
index 93622abb28..e0b79a993f 100644
--- a/Ports/c-ray/patches/fix-linkage.patch
+++ b/Ports/c-ray/patches/fix-linkage.patch
@@ -1,14 +1,5 @@
--- c-ray-master/CMakeLists.txt 2021-03-13 00:40:48.474000000 +0100
+++ c-ray-master/CMakeLists.txt 2021-03-13 00:41:04.770789629 +0100
-@@ -38,7 +38,7 @@
- set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/DEBUG /MANIFEST:NO /INCREMENTAL:NO /OPT:REF,ICF" CACHE STRING "" FORCE)
- else()
- # set(CMAKE_C_FLAGS "-Wall -Wextra -pedantic -Wconversion -std=gnu99")
-- set(CMAKE_C_FLAGS "-Wall -Wextra -Wno-missing-field-initializers -std=gnu99 -march=native -mtune=native -D_GNU_SOURCE")
-+ set(CMAKE_C_FLAGS "-Wall -Wextra -Wno-missing-field-initializers -std=gnu99 -mtune=native -D_GNU_SOURCE")
- set(CMAKE_C_FLAGS_RELEASE "-O3 -ftree-vectorize")
- set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -g")
- if (ASAN)
@@ -71,7 +71,7 @@
target_include_directories(c-ray PRIVATE ${c-ray_SOURCE_DIR}/src)
target_include_directories(c-ray PRIVATE ${c-ray_SOURCE_DIR}/tests)