diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-10-10 23:00:17 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-10-11 18:26:39 +0000 |
commit | b4c5cbff607c0890765bb9308445a7d93f2fb6e1 (patch) | |
tree | 9cdc6182ee23ca65aa791fc5676e9b2ac5f880d3 /games/openenroth | |
parent | 281f8058caee59ab5627092b5f1a4fcdd0352746 (diff) | |
download | ports-b4c5cbff607c0890765bb9308445a7d93f2fb6e1.tar.gz ports-b4c5cbff607c0890765bb9308445a7d93f2fb6e1.zip |
Diffstat (limited to 'games/openenroth')
-rw-r--r-- | games/openenroth/files/patch-thirdparty_luajit_luajit_src_lj__arch.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/games/openenroth/files/patch-thirdparty_luajit_luajit_src_lj__arch.h b/games/openenroth/files/patch-thirdparty_luajit_luajit_src_lj__arch.h new file mode 100644 index 000000000000..a2bd734c4fda --- /dev/null +++ b/games/openenroth/files/patch-thirdparty_luajit_luajit_src_lj__arch.h @@ -0,0 +1,17 @@ +--- thirdparty/luajit/luajit/src/lj_arch.h.orig 2023-10-10 22:49:01 UTC ++++ thirdparty/luajit/luajit/src/lj_arch.h +@@ -463,8 +463,14 @@ + #endif + #endif + #elif !LJ_TARGET_PS3 ++#if __clang__ ++#if ((__clang_major__ < 3) || ((__clang_major__ == 3) && __clang_minor__ < 5)) ++#error "Need at least Clang 3.5 or newer" ++#endif ++#else + #if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3) + #error "Need at least GCC 4.3 or newer" ++#endif + #endif + #endif + #endif |