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.
This commit is contained in:
EWouters 2022-04-01 01:55:25 +02:00 committed by Brian Gianforcaro
parent 711e317bd5
commit 67ce82ba97
3 changed files with 3 additions and 12 deletions

View file

@ -20,7 +20,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`ca-certificates`](ca-certificates/) | Mozilla CA certificate store | 2022-02-01 | https://curl.se/docs/caextract.html |
| [`carl`](carl/) | Crypto Ancienne Resource Loader | 1.5 | https://github.com/classilla/cryanc |
| [`ccache`](ccache/) | ccache | 4.5.1 | https://ccache.dev/ |
| [`c-ray`](c-ray/) | C-Ray | c094d64 | https://github.com/vkoskiv/c-ray |
| [`c-ray`](c-ray/) | C-Ray | 8f30eb9 | https://github.com/vkoskiv/c-ray |
| [`chester`](chester/) | Chester Gameboy Emulator | | https://github.com/veikkos/chester |
| [`citron`](citron/) | Citron Programming Language | 0.0.9.3 | https://github.com/alimpfard/citron |
| [`cmake`](cmake/) | CMake | 3.23.0 | https://cmake.org/ |

View file

@ -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")

View file

@ -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)