multimedia/xbmc: added patch to compile against libnfs 1.9.4+.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Larry Hajali 2014-07-06 18:30:37 +07:00 committed by Robby Workman
parent f1eec6c9ac
commit d3e91a8c4b
2 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,24 @@
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 <limits.h>
+#include <nfsc/libnfs-zdr.h>
#include <nfsc/libnfs-raw-mount.h>
#include <nfsc/libnfs-raw-nfs.h>
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 <nfsc/libnfs-zdr.h>
#include <nfsc/libnfs-raw-mount.h>
#ifdef TARGET_WINDOWS

View File

@ -24,7 +24,7 @@
PRGNAM=xbmc
VERSION=${VERSION:-13.1}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -89,6 +89,9 @@ patch -p1 < $CWD/patches/xbmc-Gotham-samba-4.0.patch
# Use installed libdvdread.
patch -p1 < $CWD/patches/xbmc-13.0-dvdread.patch
# Header fix against libnfs 1.9.4+.
patch -p1 < $CWD/patches/libnfs-header-changes.patch
# Hack for using afpfs-ng.
cat lib/afpfs-ng/fix_afpfs-ng_includes.patch | head -1336 | tail -1172 | patch -p1
AFPFS_NGFLAGS="-I$PWD/include"