diff options
author | Fatih Aşıcı <fatih.asici@gmail.com> | 2013-09-16 10:32:14 +0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-09-19 11:03:35 +0200 |
commit | 3ea44760f6a5ee8bf7f419ee0cc65b481a8cfe92 (patch) | |
tree | ec071d30e94cb336b6c36698ec9fd706c2fc4f2e /package/directfb | |
parent | 3fce526c2d8390877daa69c9171bdbd3f682a64b (diff) |
directfb: Add upstream patch to fix qt5base build
Fixes http://autobuild.buildroot.net/results/8c7eaf99e365ecff28c097475b235dbe8d614294/
Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/directfb')
-rw-r--r-- | package/directfb/directfb-remove-redefinition-of-__typeof__.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/package/directfb/directfb-remove-redefinition-of-__typeof__.patch b/package/directfb/directfb-remove-redefinition-of-__typeof__.patch new file mode 100644 index 000000000..e3861af97 --- /dev/null +++ b/package/directfb/directfb-remove-redefinition-of-__typeof__.patch @@ -0,0 +1,28 @@ +Remove definition to fix qt5 build. + +Fetch from: http://git.directfb.org/?p=core/DirectFB.git;a=patch;h=203f78a4193a8ff110dec3c860e0928af1a0a72f + +From 203f78a4193a8ff110dec3c860e0928af1a0a72f Mon Sep 17 00:00:00 2001 +From: Denis Oliver Kropp <dok@directfb.org> +Date: Wed, 31 Jul 2013 21:56:05 +0200 +Subject: [PATCH] libdirect: Remove redefinition of __typeof__!!! + +--- + lib/direct/os/linux/glibc/types.h | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/lib/direct/os/linux/glibc/types.h b/lib/direct/os/linux/glibc/types.h +index 08e94b2..80cb350 100644 +--- a/lib/direct/os/linux/glibc/types.h ++++ b/lib/direct/os/linux/glibc/types.h +@@ -81,7 +81,6 @@ typedef int64_t s64; + #define __dfb_no_instrument_function__ __attribute__((no_instrument_function)) + #define __constructor__ __attribute__((constructor)) + #define __destructor__ __attribute__((destructor)) +-#define __typeof__(x) __typeof__(x) + + #ifndef __func__ + #define __func__ __FUNCTION__ +-- +1.7.9.5 + |