wok-6.x view mupen64plus/stuff/ftbfs-gvariant-type-conflicts.patch @ rev 17024

usbids: up 20140731
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Aug 14 09:20:02 2014 +0000 (2014-08-14)
parents
children
line source
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>
20 +
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;