summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2011-02-01 03:41:08 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2011-02-01 03:41:08 (GMT)
commit346120bb7c2c5b9df8ef885bf67349da9f6c6c04 (patch)
treeb80d310987e6efdf725e57aee41e620921a086ba /abs/core/mythtv
parent1e9d2136bc4015bbde83dddbd06420fce021e261 (diff)
downloadlinhes_pkgbuild-346120bb7c2c5b9df8ef885bf67349da9f6c6c04.zip
linhes_pkgbuild-346120bb7c2c5b9df8ef885bf67349da9f6c6c04.tar.gz
linhes_pkgbuild-346120bb7c2c5b9df8ef885bf67349da9f6c6c04.tar.bz2
mythweb: patch modules path in mythweb.php. Ref #752
Diffstat (limited to 'abs/core/mythtv')
-rw-r--r--abs/core/mythtv/stable-0.24/mythweb/PKGBUILD13
-rw-r--r--abs/core/mythtv/stable-0.24/mythweb/mythweb.php.patch11
2 files changed, 19 insertions, 5 deletions
diff --git a/abs/core/mythtv/stable-0.24/mythweb/PKGBUILD b/abs/core/mythtv/stable-0.24/mythweb/PKGBUILD
index 59ba653..ad0f776 100644
--- a/abs/core/mythtv/stable-0.24/mythweb/PKGBUILD
+++ b/abs/core/mythtv/stable-0.24/mythweb/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=mythweb
pkgver=0.24
-pkgrel=9
+pkgrel=12
pkgdesc="Web interface for MythTV's backend"
url="http://www.mythtv.org"
license="GPL"
@@ -9,8 +9,8 @@ arch=('i686' 'x86_64')
depends=('mythtv>=0.24' 'lighttpd' 'php' 'local-website')
groups=('mythtv-extras')
-patches=()
-source=('ftp://ftp.knoppmyth.net/R6/sources/mythweb-0.24-fixes.tar.bz2' `echo${patches[@]:0}`)
+patches=('mythweb.php.patch')
+source=('ftp://ftp.knoppmyth.net/R6/sources/mythweb-0.24-fixes.tar.bz2' `echo ${patches[@]:0}`)
DOCROOT=/data/srv/httpd/htdocs/mythweb
_gitroot="https://github.com/mythtv/mythweb.git"
@@ -25,7 +25,7 @@ build() {
do
echo applying $i
echo "-----------------------------"
- patch -Np0 -i ${startdir}/src/$i || return 1
+ patch -Np0 -i ${srcdir}/$i || return 1
done
echo "--------------------------done applying patches-----------------------------------------------"
@@ -39,4 +39,7 @@ build() {
chmod g+rw $pkgdir/$DOCROOT/{image_cache,php_sessions,data}
}
-md5sums=('45703fa3899c4ee84d1b087bfcc6654e')
+
+
+md5sums=('45703fa3899c4ee84d1b087bfcc6654e'
+ '51a502491a7fa444ec24516cd0669997')
diff --git a/abs/core/mythtv/stable-0.24/mythweb/mythweb.php.patch b/abs/core/mythtv/stable-0.24/mythweb/mythweb.php.patch
new file mode 100644
index 0000000..4525e68
--- /dev/null
+++ b/abs/core/mythtv/stable-0.24/mythweb/mythweb.php.patch
@@ -0,0 +1,11 @@
+--- mythweb.php.orig 2011-02-01 03:33:56.000000000 +0000
++++ mythweb.php 2011-02-01 03:34:20.000000000 +0000
+@@ -30,7 +30,7 @@
+ if (Modules::getModule($Path[0])) {
+ // Add the current module directory to our search path, so modules can
+ // define includes, etc.
+- ini_set('include_path', ini_get('include_path').':'.modules_path.'/'.$Path[0]);
++ ini_set('include_path', ini_get('include_path').':'.modules.'/'.$Path[0]);
+ // Load the module handler
+ require_once 'handler.php';
+ }