git: cf7336e4d5d0 - main - games/SRB2: fix build on big-endian

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sun, 10 Oct 2021 18:33:42 UTC
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;