wok-current view mupen64plus/stuff/ftbfs-gvariant-type-conflicts.patch @ rev 12984

slitaz-base-files: add /run
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 02 16:06:04 2012 +0200 (2012-06-02)
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;