Date: Fri, 8 Oct 2021 12:06:39 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: a385a94464cb - main - emulators/frodo: fix build on powerpc64le Message-ID: <202110081206.198C6d42081696@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=a385a94464cb0b62e7f17e5decfa5087ac9c43c1 commit a385a94464cb0b62e7f17e5decfa5087ac9c43c1 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-10-08 12:04:39 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-10-08 12:04:39 +0000 emulators/frodo: fix build on powerpc64le While base GCC can build this port on 12.2, clang can't: VIC.cpp:1407:8: error: expected unqualified-id static asm void fastcopy(register uchar *dst, register uchar *src); ^ VIC.cpp:1408:8: error: expected unqualified-id static asm void fastcopy(register uchar *dst, register uchar *src) ^ VIC.cpp:1838:3: error: use of undeclared identifier 'fastcopy' fastcopy(chunky_line_start, (uint8 *)chunky_tmp); It also can't build with USES=compiler:gcc-c++11-lib. Since this port doesn't have reverse dependencies, use USE_GCC=yes. --- emulators/frodo/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emulators/frodo/Makefile b/emulators/frodo/Makefile index b5b1f9e4535e..e9abd75d9c8e 100644 --- a/emulators/frodo/Makefile +++ b/emulators/frodo/Makefile @@ -32,6 +32,10 @@ USES+= sdl USE_SDL= sdl .endif +.if ${ARCH} == powerpc64le +USE_GCC= yes +.endif + pre-configure: ${REINPLACE_CMD} -e 's|wish|wish${TK_VER}|' \ ${WRKSRC}/C64_x.i
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110081206.198C6d42081696>