summaryrefslogtreecommitdiff
path: root/dev-php/PEAR-HTML_Template_Sigma/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
commit1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch)
treee48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-php/PEAR-HTML_Template_Sigma/files
parentd87262dd706fec50cd150aab3e93883b6337466d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-php/PEAR-HTML_Template_Sigma/files')
-rw-r--r--dev-php/PEAR-HTML_Template_Sigma/files/HTML_Template_Sigma-1.3.0-php7.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/dev-php/PEAR-HTML_Template_Sigma/files/HTML_Template_Sigma-1.3.0-php7.patch b/dev-php/PEAR-HTML_Template_Sigma/files/HTML_Template_Sigma-1.3.0-php7.patch
deleted file mode 100644
index ffb95e208467..000000000000
--- a/dev-php/PEAR-HTML_Template_Sigma/files/HTML_Template_Sigma-1.3.0-php7.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-diff -aurN a/HTML/Template/Sigma.php b/HTML/Template/Sigma.php
---- a/HTML/Template/Sigma.php 2014-01-13 04:33:52.000000000 -0500
-+++ b/HTML/Template/Sigma.php 2018-02-19 09:29:52.995013991 -0500
-@@ -384,6 +384,26 @@
- *
- * @see setRoot(), setCacheRoot()
- */
-+ function __construct($root = '', $cacheRoot = '')
-+ {
-+ // the class is inherited from PEAR to be able to use $this->setErrorHandling()
-+ parent::__construct();
-+ $this->variablesRegExp = '@' . $this->openingDelimiter . '(' . $this->variablenameRegExp . ')' .
-+ '(:(' . $this->functionnameRegExp . '))?' . $this->closingDelimiter . '@sm';
-+ $this->removeVariablesRegExp = '@' . $this->openingDelimiter . '\s*(' . $this->variablenameRegExp . ')\s*'
-+ . $this->closingDelimiter . '@sm';
-+ $this->blockRegExp = '@<!--\s+BEGIN\s+(' . $this->blocknameRegExp
-+ . ')\s+-->(.*)<!--\s+END\s+\1\s+-->@sm';
-+ $this->functionRegExp = '@' . $this->functionPrefix . '(' . $this->functionnameRegExp . ')\s*\(@sm';
-+ $this->setRoot($root);
-+ $this->setCacheRoot($cacheRoot);
-+
-+ $this->setCallbackFunction('h', array(&$this, '_htmlspecialchars'));
-+ $this->setCallbackFunction('e', array(&$this, '_htmlentities'));
-+ $this->setCallbackFunction('u', 'urlencode');
-+ $this->setCallbackFunction('r', 'rawurlencode');
-+ $this->setCallbackFunction('j', array(&$this, '_jsEscape'));
-+ }
- function HTML_Template_Sigma($root = '', $cacheRoot = '')
- {
- // the class is inherited from PEAR to be able to use $this->setErrorHandling()
-diff -aurN a/tests/AllTests.php b/tests/AllTests.php
---- a/tests/AllTests.php 2014-01-13 04:33:52.000000000 -0500
-+++ b/tests/AllTests.php 2018-02-19 09:37:14.071972780 -0500
-@@ -24,8 +24,6 @@
- define('PHPUnit_MAIN_METHOD', 'HTML_Template_Sigma_AllTests::main');
- }
-
--require_once 'PHPUnit/Autoload.php';
--
- /**
- * Class for file / directory manipulation from PEAR package
- */