diff --git a/alarm/xbmc-rbp/PKGBUILD b/alarm/xbmc-rbp/PKGBUILD index 9a6b7a1bd..be0e7cc53 100644 --- a/alarm/xbmc-rbp/PKGBUILD +++ b/alarm/xbmc-rbp/PKGBUILD @@ -27,7 +27,8 @@ install="xbmc.install" source=("https://github.com/xbmc/xbmc/archive/$pkgver-$_codename.tar.gz" 'xbmc.service' 'polkit.rules' - 'panasonicCEC.patch') + 'panasonicCEC.patch' + 'fix_libnfs.patch') sha256sums=('663b99f3e196ead51d90f06ccfa864b4e5ade385dfc5972acb0f854d525f2903' '189804742290946424a401163e351f5158bfd1b71e5b86b864589254b13f9571' @@ -47,6 +48,9 @@ prepare() { # http://archlinuxarm.org/forum/viewtopic.php?f=31&t=6376&start=10 patch -Np1 -i ${srcdir}/panasonicCEC.patch + # Fix missing headers includes + patch -Np1 -i ${srcdir}/fix_libnfs.patch + # fix samba4 libsmbclient.h location sed -e 's/\(#include \)/\1/g' \ -i xbmc/filesystem/SmbFile.cpp \ diff --git a/alarm/xbmc-rbp/fix_libnfs.patch b/alarm/xbmc-rbp/fix_libnfs.patch new file mode 100644 index 000000000..873cbee5c --- /dev/null +++ b/alarm/xbmc-rbp/fix_libnfs.patch @@ -0,0 +1,25 @@ +diff --git a/xbmc/filesystem/NFSDirectory.cpp b/xbmc/filesystem/NFSDirectory.cpp +index 85084a5..8efa7bf 100644 +--- a/xbmc/filesystem/NFSDirectory.cpp ++++ b/xbmc/filesystem/NFSDirectory.cpp +@@ -37,6 +37,7 @@ + using namespace XFILE; + using namespace std; + #include ++#include + #include + #include + +diff --git a/xbmc/filesystem/NFSFile.cpp b/xbmc/filesystem/NFSFile.cpp +index 479f3fe..2aeea32 100644 +--- a/xbmc/filesystem/NFSFile.cpp ++++ b/xbmc/filesystem/NFSFile.cpp +@@ -32,6 +32,7 @@ + #include "network/DNSNameCache.h" + #include "threads/SystemClock.h" + ++#include + #include + + #ifdef TARGET_WINDOWS +