1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/emulators/mupen64plus-video-glide64mk2
Dimitry Andric 39dd48012d emulators/mupen64plus-video-glide64mk2: fix build with clang 18
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.

PR:		278001
Approved by:	maintainer timeout (2 weeks)
MFH:		2024Q2
2024-04-20 16:23:09 +02:00
..
files
distinfo
Makefile