[packages/eventum/dev-3.0] smarty: use phpDir var

glen glen at pld-linux.org
Mon Oct 12 22:42:42 CEST 2015


commit 1468f295e1e3115e758b60079916879bd807b3e1
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Oct 12 22:53:33 2015 +0300

    smarty: use phpDir var

 autoload.patch | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/autoload.patch b/autoload.patch
index b2b04da..20bb324 100644
--- a/autoload.patch
+++ b/autoload.patch
@@ -239,15 +239,16 @@
 +    'PHPlot' => $phpDir .'/phplot/phplot.php',
 +    'Smarty' => $phpDir. '/Smarty3/Smarty.class.php',
  );
---- eventum-3.0.2-101-ge275162/vendor/composer/autoload_files.php	2015-10-12 21:33:13.000000000 +0300
+--- eventum-3.0.2-101-ge275162/vendor/composer/autoload_files.php	2015-10-12 22:06:43.978822341 +0300
 +++ eventum-3.0.2-101-ge275162/vendor/composer/autoload_files.php	2015-10-12 22:06:43.978822341 +0300
-@@ -6,6 +6,5 @@
+@@ -6,6 +6,6 @@
  $baseDir = dirname($vendorDir);
++$phpDir = PHP_DATADIR . '/php';
  
  return array(
 -    $vendorDir . '/smarty-gettext/smarty-gettext/block.t.php',
 -    $vendorDir . '/smarty-gettext/smarty-gettext/function.locale.php',
-+	'/usr/share/php/Smarty3/plugins/block.t.php',
++    $phpDir. '/Smarty3/plugins/block.t.php',
  );
 --- eventum-3.0.2-101-ge275162/vendor/composer/autoload_namespaces.php	2015-10-12 22:08:53.596910822 +0300
 +++ eventum-3.0.2-101-ge275162/vendor/composer/autoload_namespaces.php	2015-10-12 22:08:53.596910822 +0300
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/eventum.git/commitdiff/5301be5399334f9ba2adc6e933ef2590d9f8f3ca



More information about the pld-cvs-commit mailing list