From b477a3f4d3c2aea591684ee880b0deb414070244 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 2 Mar 2012 03:34:49 +0100 Subject: davical: forked from sunrise changed php library path, the php-lib-r1.eclass now installs the libraries to /usr/share/php instead of /usr/share/php5 --- www-apps/davical/files/inc_path.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 www-apps/davical/files/inc_path.patch (limited to 'www-apps/davical/files/inc_path.patch') diff --git a/www-apps/davical/files/inc_path.patch b/www-apps/davical/files/inc_path.patch new file mode 100644 index 0000000..bc646f1 --- /dev/null +++ b/www-apps/davical/files/inc_path.patch @@ -0,0 +1,20 @@ +--- htdocs/always.php.orig 2012-01-05 21:28:16.382878446 +0100 ++++ htdocs/always.php 2012-01-05 21:30:06.828431957 +0100 +@@ -48,7 +48,7 @@ + // $c->default_locale = array('es_MX', 'es_AR', 'es', 'pt'); // An array of locales to try, or just a single locale + // $c->local_tzid = 'Pacific/Auckland'; // Perhaps we should read from /etc/timezone - I wonder how standard that is? + $c->default_locale = 'en'; +-$c->locale_path = '../locale'; ++$c->locale_path = '../../davical/locale'; + $c->base_url = preg_replace('#/[^/]+\.php.*$#', '', $_SERVER['SCRIPT_NAME']); + $c->base_directory = preg_replace('#/[^/]*$#', '', $_SERVER['DOCUMENT_ROOT']); + $c->default_privileges = array('read-free-busy', 'schedule-deliver'); +@@ -95,7 +96,7 @@ + } + + // Ensure that ../inc is in our included paths as early as possible +-set_include_path( '../inc'. PATH_SEPARATOR. get_include_path()); ++set_include_path( '../../davical/inc'. PATH_SEPARATOR. get_include_path()); + + + /** We actually discovered this and worked around it earlier, but we can't log it until the utilties are loaded */ -- cgit v1.2.3