updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mupen64plus15 / ftbfs-gvariant-type-conflicts.patch
blobe76da1707285e1c2b4de70c2ddebe769ac2a373f
1 Description: Fix FTBFS due to glib gvariant type definitions
2 Forwarded: not-needed
3 Bug-Debian: http://bugs.debian.org/577329
4 Author: Sven Eckelmann <sven.eckelmann@gmx.de>
6 ---
7 diff --git a/rice_video/typedefs.h b/rice_video/typedefs.h
8 index 4cded542b06445f043fa1fabf77e4d20c9d52920..b7e16e9c4ba3248f9fed9762f79349c137ee2026 100644
9 --- a/rice_video/typedefs.h
10 +++ b/rice_video/typedefs.h
11 @@ -20,10 +20,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
12 #ifndef _TYPEDEFS_H_
13 #define _TYPEDEFS_H_
15 -#define uchar unsigned char
16 -#define uint16 unsigned short
17 -#define uint32 unsigned int
18 -#define uint64 unsigned long long
19 +#include <stdint.h>
21 +typedef uint8_t uchar;
22 +typedef uint16_t uint16;
23 +typedef uint32_t uint32;
24 +typedef uint64_t uint64;
26 typedef unsigned char uint8;