From 4a2252c3904af183ea6b21f3dce5c41b1978fed8 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Fri, 4 Feb 2011 02:54:04 +0000
Subject: mythweb: revert my patch an add a symlink instead. Ref #752

---
 abs/core/mythtv/stable-0.24/mythweb/PKGBUILD | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/abs/core/mythtv/stable-0.24/mythweb/PKGBUILD b/abs/core/mythtv/stable-0.24/mythweb/PKGBUILD
index ad0f776..df63633 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=12
+pkgrel=13
 pkgdesc="Web interface for MythTV's backend"
 url="http://www.mythtv.org"
 license="GPL"
@@ -9,7 +9,7 @@ arch=('i686' 'x86_64')
 depends=('mythtv>=0.24' 'lighttpd' 'php' 'local-website')
 groups=('mythtv-extras')
 
-patches=('mythweb.php.patch')
+patches=()
 source=('ftp://ftp.knoppmyth.net/R6/sources/mythweb-0.24-fixes.tar.bz2' `echo ${patches[@]:0}`)
 
 DOCROOT=/data/srv/httpd/htdocs/mythweb
@@ -38,8 +38,9 @@ build() {
 	chown -R http:http $startdir/pkg/$DOCROOT
 	chmod g+rw $pkgdir/$DOCROOT/{image_cache,php_sessions,data}
 
+        # mythweb modules_path fix for 0.24
+        # http://code.mythtv.org/trac/ticket/9255
+        cd ${pkgdir}/${DOCROOT}
+        ln -s modules modules_path
 }
-
-
-md5sums=('45703fa3899c4ee84d1b087bfcc6654e'
-         '51a502491a7fa444ec24516cd0669997')
+md5sums=('45703fa3899c4ee84d1b087bfcc6654e')
-- 
cgit v0.12

