diff options
author | Larry Hajali <larryhaja@gmail.com> | 2014-07-06 18:30:37 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2014-07-07 00:00:41 -0500 |
commit | d3e91a8c4b6c611172980afcb42cfb81b083e3e0 (patch) | |
tree | 160eca61fa0cfba25a00b4e4d1cf5fd6b6c81a82 /multimedia/xbmc | |
parent | f1eec6c9ac9ec25b9f5704942dc20906f08b5514 (diff) | |
download | slackbuilds-d3e91a8c4b6c611172980afcb42cfb81b083e3e0.tar.gz |
multimedia/xbmc: added patch to compile against libnfs 1.9.4+.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/xbmc')
-rw-r--r-- | multimedia/xbmc/patches/libnfs-header-changes.patch | 24 | ||||
-rw-r--r-- | multimedia/xbmc/xbmc.SlackBuild | 5 |
2 files changed, 28 insertions, 1 deletions
diff --git a/multimedia/xbmc/patches/libnfs-header-changes.patch b/multimedia/xbmc/patches/libnfs-header-changes.patch new file mode 100644 index 0000000000..ef3d45e2c6 --- /dev/null +++ b/multimedia/xbmc/patches/libnfs-header-changes.patch @@ -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 diff --git a/multimedia/xbmc/xbmc.SlackBuild b/multimedia/xbmc/xbmc.SlackBuild index a0cd56d626..09ea4fb6f7 100644 --- a/multimedia/xbmc/xbmc.SlackBuild +++ b/multimedia/xbmc/xbmc.SlackBuild @@ -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" |