pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
GCC_REQD+= 12 ?(Re: games/openrct2 spins 99% CPU for hours
Is this change acceptable ?
(checked on NetBSD/amd64 9.3)
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/games/openrct2/Makefile,v
retrieving revision 1.68
diff -u -r1.68 Makefile
--- Makefile 14 Dec 2024 20:47:52 -0000 1.68
+++ Makefile 21 Dec 2024 10:15:19 -0000
@@ -49,6 +49,7 @@
USE_TOOLS+= gmake pkg-config unzip
USE_LANGUAGES= c c++
+GCC_REQD+= 12
CMAKE_CONFIGURE_ARGS+= -DCMAKE_BUILD_TYPE="Release"
CMAKE_CONFIGURE_ARGS+= -DCMAKE_CXX_COMPILER_AR="/usr/bin/ar"
--
Makoto Fujiwara
mef%NetBSD.org@localhost
makoto%if.t.u-tokyo.ac.jp@localhost
(suspectable line:, not for sure)
/tmp/games/openrct2/work/OpenRCT2-0.4.16/src/thirdparty/duktape/duktape.cpp:6408:42: warning: potential null pointer dereference [-Wnull-dereference]
6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen)
| ~~~~~~^~~~~
/tmp/games/openrct2/work/OpenRCT2-0.4.16/src/thirdparty/duktape/duktape.cpp:40204:73: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN'
40204 | js_ctx->p_end = ((const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_text)) + DUK_HSTRING_GET_BYTELEN(h_text);
| ^~~~~~~~~~~~~~~~~~~~~~~
Home |
Main Index |
Thread Index |
Old Index