summaryrefslogtreecommitdiffstats
path: root/games/mupen64plus/ftbfs-gvariant-type-conflicts.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games/mupen64plus/ftbfs-gvariant-type-conflicts.patch')
-rw-r--r--games/mupen64plus/ftbfs-gvariant-type-conflicts.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/games/mupen64plus/ftbfs-gvariant-type-conflicts.patch b/games/mupen64plus/ftbfs-gvariant-type-conflicts.patch
new file mode 100644
index 0000000000..2a409d79f9
--- /dev/null
+++ b/games/mupen64plus/ftbfs-gvariant-type-conflicts.patch
@@ -0,0 +1,20 @@
+diff --git a/rice_video/typedefs.h b/rice_video/typedefs.h
+index 4cded542b06445f043fa1fabf77e4d20c9d52920..b7e16e9c4ba3248f9fed9762f79349c137ee2026 100644
+--- a/rice_video/typedefs.h
++++ b/rice_video/typedefs.h
+@@ -20,10 +20,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ #ifndef _TYPEDEFS_H_
+ #define _TYPEDEFS_H_
+
+-#define uchar unsigned char
+-#define uint16 unsigned short
+-#define uint32 unsigned int
+-#define uint64 unsigned long long
++#include <stdint.h>
++
++typedef uint8_t uchar;
++typedef uint16_t uint16;
++typedef uint32_t uint32;
++typedef uint64_t uint64;
+
+ typedef unsigned char uint8;