Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2023 18:27:17 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b4c5cbff607c - main - games/openenroth: fix build on powerpc
Message-ID:  <202310111827.39BIRHWU091466@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b4c5cbff607c0890765bb9308445a7d93f2fb6e1

commit b4c5cbff607c0890765bb9308445a7d93f2fb6e1
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-10-10 23:00:17 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-10-11 18:26:39 +0000

    games/openenroth: fix build on powerpc
    
    /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src/host/cmake/buildvm/../../../lj_arch.h:467:2: error: "Need at least GCC 4.3 or newer"
---
 .../files/patch-thirdparty_luajit_luajit_src_lj__arch.h | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310111827.39BIRHWU091466>