From 54bf44ce7dea4fef3e7072fec787be1e92096895 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Mon, 14 Jul 2014 00:53:39 -0300 Subject: xbmc-libre-13.1-3: libnfs 1.9.4 build issue fixed --- libre/xbmc-libre/PKGBUILD | 9 ++++++--- libre/xbmc-libre/libnfs-header-changes.patch | 24 ++++++++++++++++++++++++ libre/xbmc-libre/xbmc.service | 2 +- 3 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 libre/xbmc-libre/libnfs-header-changes.patch (limited to 'libre') diff --git a/libre/xbmc-libre/PKGBUILD b/libre/xbmc-libre/PKGBUILD index bd8e32c35..f97c7bae7 100644 --- a/libre/xbmc-libre/PKGBUILD +++ b/libre/xbmc-libre/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 112817 2014-06-08 08:35:29Z idevolder $ +# $Id: PKGBUILD 115116 2014-07-05 17:16:22Z idevolder $ # Maintainer (Arch): Sergej Pupykin # Contributor (Arch): Brad Fanella # Contributor (Arch): [vEX] @@ -14,7 +14,7 @@ _pkgname=xbmc pkgname=xbmc-libre pkgver=13.1 _codename=Gotham -pkgrel=2 +pkgrel=3 pkgdesc="A software media player and entertainment hub for digital media (Gotham version), without nonfree addons and unrar support" arch=('i686' 'x86_64') url="http://xbmc.org" @@ -54,15 +54,17 @@ source=( 'xbmc.service' 'enable-external-ffmpeg.patch' '0001-make-sure-applications-xbmc.desktop-does-nt-have-exe.patch' + 'libnfs-header-changes.patch' ) mksha256sums=( '344b604eae2ddb47c032dd7964d01f27e6fcd7a8873c84c0841d5da75961a678' ) sha256sums=( '0e06a586e2b3041fd812b9d440ffe224f78779ac4cf6a21421a47c74a0f65d1f' - '17ea860b675568f516df0289e5663029a2ce1829b0dfa3c71636ef1ae7cd2207' + '1a94a7952ef99cd3dd6f4b921630563f72a3b907265e91e0a37b07339081558c' '0239e33e87292c7340ed2092f2b5f1e82f5e283b1f763fb125b3aee78f50c355' '5f5fe2932050265ad71c82b5d23efe5eaf7b2b3a152bdc6da66675cfb655fabe' + '9b49e98540cfcf3431d38cf9cd981ed8450ccbfcb70eed7f862f82f39d66763b' ) mksource() { @@ -76,6 +78,7 @@ prepare() { cd "$srcdir/xbmc-$pkgver-$_codename" patch -p1 -i "$srcdir/enable-external-ffmpeg.patch" patch -p1 -i "$srcdir/0001-make-sure-applications-xbmc.desktop-does-nt-have-exe.patch" + patch -p1 -i "$srcdir/libnfs-header-changes.patch" find -type f -name *.py -exec sed 's|^#!.*python$|#!/usr/bin/python2|' -i "{}" + sed 's|^#!.*python$|#!/usr/bin/python2|' -i tools/depends/native/rpl-native/rpl diff --git a/libre/xbmc-libre/libnfs-header-changes.patch b/libre/xbmc-libre/libnfs-header-changes.patch new file mode 100644 index 000000000..ef3d45e2c --- /dev/null +++ b/libre/xbmc-libre/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 ++#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 diff --git a/libre/xbmc-libre/xbmc.service b/libre/xbmc-libre/xbmc.service index 81a37ac7e..90119f07d 100644 --- a/libre/xbmc-libre/xbmc.service +++ b/libre/xbmc-libre/xbmc.service @@ -1,6 +1,6 @@ [Unit] Description = Starts instance of XBMC using xinit -After = systemd-user-sessions.service +After = systemd-user-sessions.service network.target Conflicts=getty@tty7.service [Service] -- cgit v1.2.3-2-g168b