svn commit: r390424 - head/emulators/mupen64plus-video-glide64/files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Jun 23 16:16:20 UTC 2015
Author: amdmi3
Date: Tue Jun 23 16:16:19 2015
New Revision: 390424
URL: https://svnweb.freebsd.org/changeset/ports/390424
Log:
- Fix build
Approved by: portmgr blanket
Added:
head/emulators/mupen64plus-video-glide64/files/
head/emulators/mupen64plus-video-glide64/files/patch-src_Util.h (contents, props changed)
Added: head/emulators/mupen64plus-video-glide64/files/patch-src_Util.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/mupen64plus-video-glide64/files/patch-src_Util.h Tue Jun 23 16:16:19 2015 (r390424)
@@ -0,0 +1,13 @@
+--- mupen64plus-video-glide64/src/Util.h.orig 2015-06-19 14:41:15 UTC
++++ mupen64plus-video-glide64/src/Util.h
+@@ -93,7 +93,9 @@ void fix_tex_coord (VERTEX **v);
+ lx = lc; \
+ }
+
+-#if defined(_MSC_VER) && (defined(_M_IX86) || defined(_M_X64))
++#if defined(__FreeBSD__)
++ #include <sys/endian.h>
++#elif defined(_MSC_VER) && (defined(_M_IX86) || defined(_M_X64))
+ #include <stdlib.h>
+ #define bswap32(x) _byteswap_ulong(x)
+ #else
More information about the svn-ports-all
mailing list