summaryrefslogtreecommitdiffstats
path: root/games/mupen64plus/ftbfs-gvariant-type-conflicts.patch
diff options
context:
space:
mode:
author M.Dinslage <daedra1980{at}gmail{dot}com>2011-01-10 07:53:23 -0200
committer Robby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:25 -0600
commitfb6a932c500c83edb25deae93f8b0b2620f3f84e (patch)
tree7d0efa31591b84beb2cb31d3bc60c4eb8a43aa31 /games/mupen64plus/ftbfs-gvariant-type-conflicts.patch
parentdaa75b6a3557290e7e321998647717a3b851a70d (diff)
downloadslackbuilds-fb6a932c500c83edb25deae93f8b0b2620f3f84e.tar.gz
slackbuilds-fb6a932c500c83edb25deae93f8b0b2620f3f84e.tar.xz
games/mupen64plus: Fixed to build with new gtk/glib.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
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;