packages: davical/davical-php_data_dir.patch (NEW) - set include_path

pawelz pawelz at pld-linux.org
Wed Sep 22 14:59:48 CEST 2010


Author: pawelz                       Date: Wed Sep 22 12:59:48 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- set include_path

---- Files affected:
packages/davical:
   davical-php_data_dir.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/davical/davical-php_data_dir.patch
diff -u /dev/null packages/davical/davical-php_data_dir.patch:1.1
--- /dev/null	Wed Sep 22 14:59:48 2010
+++ packages/davical/davical-php_data_dir.patch	Wed Sep 22 14:59:43 2010
@@ -0,0 +1,13 @@
+--- davical-0.9.9.2/inc/always.php.in~	2010-09-21 04:28:04.000000000 +0200
++++ davical-0.9.9.2/inc/always.php.in	2010-09-22 13:46:31.000000000 +0200
+@@ -71,9 +71,7 @@
+ // Utilities
+ if ( ! @include_once('AWLUtilities.php') ) {
+   $try_paths = array(
+-        '../../awl/inc'
+-      , '/usr/share/awl/inc'
+-      , '/usr/local/share/awl/inc'
++        '@PHP_DATA_DIR@/awl/inc'
+   );
+   foreach( $try_paths AS $awl_include_path ) {
+     if ( @file_exists($awl_include_path.'/AWLUtilities.php') ) {
================================================================


More information about the pld-cvs-commit mailing list