[Bug 278001] emulators/mupen64plus-video-glide64mk2: fix build with clang 18
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Mar 2024 20:20:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278001
Bug ID: 278001
Summary: emulators/mupen64plus-video-glide64mk2: fix build with
clang 18
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: acm@FreeBSD.org
Reporter: dim@FreeBSD.org
Flags: maintainer-feedback?(acm@FreeBSD.org)
Assignee: acm@FreeBSD.org
I am unsure if clang 18 actually has anything to do with it, but
whatever the case, emulators/mupen64plus-video-glide64mk2 does not
build:
CXX _obj/Glide64/rdp.o
../../src/Glide64/rdp.cpp:1863:11: error: use of undeclared identifier
'bswap32'
1863 | *v5 = bswap32(v12);
| ^
And a bunch more of these. Fix it by including <sys/endian.h> in the
__FreeBSD__ case in src/Glide64/Util.h.
--
You are receiving this mail because:
You are the assignee for the bug.