Date: Tue, 31 Dec 2024 14:00:43 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: 2b3b5058a291 - main - games/qwdtools: fix build on big-endian Message-ID: <202412311400.4BVE0hYa053309@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=2b3b5058a2912fe91c32783ee2c27d9b2f46edbb commit 2b3b5058a2912fe91c32783ee2c27d9b2f46edbb Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2024-12-27 19:05:20 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2024-12-31 13:59:49 +0000 games/qwdtools: fix build on big-endian CMake Error at CMakeLists.txt:74 (target_compile_definitions): target_compile_definitions called with invalid arguments --- games/qwdtools/files/patch-CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/games/qwdtools/files/patch-CMakeLists.txt b/games/qwdtools/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..ae1b92aa8e89 --- /dev/null +++ b/games/qwdtools/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2024-12-27 17:43:52 UTC ++++ CMakeLists.txt +@@ -71,7 +71,7 @@ if(IS_BIG_ENDIAN) + include (TestBigEndian) + TEST_BIG_ENDIAN(IS_BIG_ENDIAN) + if(IS_BIG_ENDIAN) +- target_compile_definitions(${PROJECT_NAME} __BIG_ENDIAN__Q__) ++ target_compile_definitions(${PROJECT_NAME} PRIVATE __BIG_ENDIAN__Q__) + message(STATUS "BIG_ENDIAN") + else() + target_compile_definitions(${PROJECT_NAME} PRIVATE __LITTLE_ENDIAN__Q__)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412311400.4BVE0hYa053309>