Date: Sun, 10 Oct 2021 18:33:42 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: cf7336e4d5d0 - main - games/SRB2: fix build on big-endian Message-ID: <202110101833.19AIXgEg038149@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=cf7336e4d5d061018600d8708f3d070c5f3be24e commit cf7336e4d5d061018600d8708f3d070c5f3be24e Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-10-10 18:14:25 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-10-10 18:14:25 +0000 games/SRB2: fix build on big-endian /wrkdirs/usr/ports/games/SRB2/work/SRB2-SRB2_release_2.2.9/src/byteptr.h:86:1: error: unknown type name 'FUNCINLINE' FUNCINLINE static ATTRINLINE void writeshort(void *ptr, INT32 val) --- games/SRB2/files/patch-src_byteptr.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/games/SRB2/files/patch-src_byteptr.h b/games/SRB2/files/patch-src_byteptr.h new file mode 100644 index 000000000000..b76da911f6ba --- /dev/null +++ b/games/SRB2/files/patch-src_byteptr.h @@ -0,0 +1,10 @@ +--- src/byteptr.h.orig 2021-10-10 01:56:02 UTC ++++ src/byteptr.h +@@ -83,6 +83,7 @@ + // + // Write a value to a little-endian, unaligned destination. + // ++#include "doomtype.h" + FUNCINLINE static ATTRINLINE void writeshort(void *ptr, INT32 val) + { + SINT8 *cp = ptr;home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110101833.19AIXgEg038149>
