xbmc: add patch to fix build with gcc-4.7

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-03-23 21:23:13 +01:00
parent ba0fa233f4
commit 249981b8bd
2 changed files with 12 additions and 1 deletions

View File

@ -261,4 +261,4 @@ make xbmc.bin
if [ "$XORG_SUPPORT" = yes ]; then if [ "$XORG_SUPPORT" = yes ]; then
make xbmc-xrandr make xbmc-xrandr
fi fi

View File

@ -0,0 +1,11 @@
diff -Naur xbmc-11.0.1/xbmc/threads/platform/pthreads/ThreadImpl.h xbmc-11.0.1.patch/xbmc/threads/platform/pthreads/ThreadImpl.h
--- xbmc-11.0.1/xbmc/threads/platform/pthreads/ThreadImpl.h 2012-03-23 07:22:04.215885089 +0100
+++ xbmc-11.0.1.patch/xbmc/threads/platform/pthreads/ThreadImpl.h 2012-03-23 07:24:07.875383186 +0100
@@ -22,6 +22,7 @@
#pragma once
#include <pthread.h>
+#include <unistd.h>
struct threadOpaque
{