Date: Mon, 10 Feb 2020 14:37:52 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r525709 - head/games/fs2open/files Message-ID: <202002101437.01AEbq8G063547@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Mon Feb 10 14:37:51 2020 New Revision: 525709 URL: https://svnweb.freebsd.org/changeset/ports/525709 Log: games/fs2open: fix build on big-endian architectures Uncomment necessary variables. Added: head/games/fs2open/files/patch-code_model_modelread.cpp (contents, props changed) Added: head/games/fs2open/files/patch-code_model_modelread.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/fs2open/files/patch-code_model_modelread.cpp Mon Feb 10 14:37:51 2020 (r525709) @@ -0,0 +1,20 @@ +--- code/model/modelread.cpp.orig 2020-02-10 13:38:06 UTC ++++ code/model/modelread.cpp +@@ -5341,7 +5341,7 @@ void swap_bsp_sortnorms( polymodel * pm, ubyte * p ) + } + #endif // BIG_ENDIAN + +-void swap_bsp_data( polymodel * /*pm*/, void * /*model_ptr*/ ) ++void swap_bsp_data( polymodel *pm, void *model_ptr ) + { + #if BYTE_ORDER == BIG_ENDIAN + ubyte *p = (ubyte *)model_ptr; +@@ -5397,7 +5397,7 @@ void swap_bsp_data( polymodel * /*pm*/, void * /*mode + #endif + } + +-void swap_sldc_data(ubyte * /*buffer*/) ++void swap_sldc_data(ubyte * buffer) + { + #if BYTE_ORDER == BIG_ENDIAN + char *type_p = (char *)(buffer);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002101437.01AEbq8G063547>