diff options
author | adamw <adamw@FreeBSD.org> | 2014-09-02 00:34:26 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-09-02 00:34:26 +0800 |
commit | 691651b9ab31f3462db4b3fddc2441f678b03803 (patch) | |
tree | 2f895b819ac9b92fa7cdca0b539413bcb55d49ba /emulators/mupen64plus-video-glide64mk2 | |
parent | fae78b9960ec1c8b0b3b544ac4a4a8be5e1d1ce6 (diff) | |
download | freebsd-ports-gnome-691651b9ab31f3462db4b3fddc2441f678b03803.tar.gz freebsd-ports-gnome-691651b9ab31f3462db4b3fddc2441f678b03803.tar.zst freebsd-ports-gnome-691651b9ab31f3462db4b3fddc2441f678b03803.zip |
Fix build on 8 and 9.
Diffstat (limited to 'emulators/mupen64plus-video-glide64mk2')
-rw-r--r-- | emulators/mupen64plus-video-glide64mk2/files/patch-source-mupen64plus-video-glide64mk2-src-Glide64_Util.h | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/emulators/mupen64plus-video-glide64mk2/files/patch-source-mupen64plus-video-glide64mk2-src-Glide64_Util.h b/emulators/mupen64plus-video-glide64mk2/files/patch-source-mupen64plus-video-glide64mk2-src-Glide64_Util.h index 3fcc4177c148..486ba6eb0001 100644 --- a/emulators/mupen64plus-video-glide64mk2/files/patch-source-mupen64plus-video-glide64mk2-src-Glide64_Util.h +++ b/emulators/mupen64plus-video-glide64mk2/files/patch-source-mupen64plus-video-glide64mk2-src-Glide64_Util.h @@ -1,6 +1,15 @@ ---- source/mupen64plus-video-glide64mk2/src/Glide64/Util.h 2013-07-03 19:28:17.000000000 -0500 -+++ source/mupen64plus-video-glide64mk2/src/Glide64/Util.h 2014-03-23 16:59:30.000000000 -0500 -@@ -90,12 +90,11 @@ +--- source/mupen64plus-video-glide64mk2/src/Glide64/Util.h.orig 2013-07-03 20:28:17.000000000 -0400 ++++ source/mupen64plus-video-glide64mk2/src/Glide64/Util.h 2014-09-01 12:32:50.282026994 -0400 +@@ -40,6 +40,8 @@ + #ifndef Util_H + #define Util_H + ++#include <sys/endian.h> ++ + #define NOT_TMU0 0x00 + #define NOT_TMU1 0x01 + #define NOT_TMU2 0x02 +@@ -90,12 +92,11 @@ lx = lc; \ } @@ -15,7 +24,7 @@ static inline uint32_t bswap32(uint32_t val) { return (((val & 0xff000000) >> 24) | -@@ -104,6 +103,7 @@ +@@ -104,6 +105,7 @@ ((val & 0x000000ff) << 24)); } #endif |