From 249981b8bd0fe515c8ad6872a9f4e2c86a7e374a Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 23 Mar 2012 21:23:13 +0100 Subject: [PATCH] xbmc: add patch to fix build with gcc-4.7 Signed-off-by: Stephan Raue --- packages/mediacenter/xbmc/build | 2 +- .../xbmc-11.0.1-902.02-xvba_support-gcc-4.7.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 packages/mediacenter/xbmc/patches/xbmc-11.0.1-902.02-xvba_support-gcc-4.7.patch diff --git a/packages/mediacenter/xbmc/build b/packages/mediacenter/xbmc/build index cb1bba0567..ad5fbb50c1 100755 --- a/packages/mediacenter/xbmc/build +++ b/packages/mediacenter/xbmc/build @@ -261,4 +261,4 @@ make xbmc.bin if [ "$XORG_SUPPORT" = yes ]; then make xbmc-xrandr -fi \ No newline at end of file +fi diff --git a/packages/mediacenter/xbmc/patches/xbmc-11.0.1-902.02-xvba_support-gcc-4.7.patch b/packages/mediacenter/xbmc/patches/xbmc-11.0.1-902.02-xvba_support-gcc-4.7.patch new file mode 100644 index 0000000000..078997f175 --- /dev/null +++ b/packages/mediacenter/xbmc/patches/xbmc-11.0.1-902.02-xvba_support-gcc-4.7.patch @@ -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 ++#include + + struct threadOpaque + {