summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2017-04-24 10:57:08 -0400
committerBrian Evans <grknight@gentoo.org>2017-04-24 10:57:08 -0400
commit48e2f44e2706e7328420fa8af5e4745c9b0e6a6f (patch)
tree6c86b8bc65f824a8b6131ead5b77ad0e4609a6b4 /dev-php/PEAR-HTML_Template_Flexy/files
parentapp-emulation/vagrant: bump to 1.9.3, drop old (diff)
downloadgentoo-48e2f44e2706e7328420fa8af5e4745c9b0e6a6f.tar.gz
gentoo-48e2f44e2706e7328420fa8af5e4745c9b0e6a6f.tar.bz2
gentoo-48e2f44e2706e7328420fa8af5e4745c9b0e6a6f.zip
dev-php/PEAR-HTML_Template_Flexy: Version bump including PHP7 fixes
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-php/PEAR-HTML_Template_Flexy/files')
-rw-r--r--dev-php/PEAR-HTML_Template_Flexy/files/1.3.13-postrelease-fixes.patch55
1 files changed, 55 insertions, 0 deletions
diff --git a/dev-php/PEAR-HTML_Template_Flexy/files/1.3.13-postrelease-fixes.patch b/dev-php/PEAR-HTML_Template_Flexy/files/1.3.13-postrelease-fixes.patch
new file mode 100644
index 000000000000..d5079c1526bc
--- /dev/null
+++ b/dev-php/PEAR-HTML_Template_Flexy/files/1.3.13-postrelease-fixes.patch
@@ -0,0 +1,55 @@
+--- a/HTML/Template/Flexy.php 2016/05/26 03:59:27 339237
++++ a/HTML/Template/Flexy.php 2016/05/26 04:01:15 339238
+@@ -241,7 +241,7 @@
+ * @param array $options (Optional)
+ */
+
+- function HTML_Template_Flexy( $options=array() )
++ function __construct( $options=array() )
+ {
+
+ $baseoptions = array();
+@@ -288,6 +288,7 @@
+ $ret = false;
+ foreach ($dirs as $tmplDir) {
+ if (@!file_exists($tmplDir . DIRECTORY_SEPARATOR .$file)) {
++ $this->debug("skip no file: $tmplDir/$file");
+ continue;
+ }
+
+@@ -296,10 +297,12 @@
+ "<BR>{$this->currentTemplate }<BR>{$tmplDir}" . DIRECTORY_SEPARATOR . $file,
+ HTML_TEMPLATE_FLEXY_ERROR_INVALIDARGS , HTML_TEMPLATE_FLEXY_ERROR_DIE);
+ }
+-
++ $this->debug("found file: $tmplDir/$file");
+ $ret = $tmplDir;
+
+ }
++ $this->debug("using file: $ret/$file");
++
+ return $ret;
+
+ }
+--- a/HTML/Template/Flexy/Compiler.php 2015/03/02 22:50:57 336027
++++ a/HTML/Template/Flexy/Compiler.php 2016/05/26 04:01:15 339238
+@@ -90,7 +90,7 @@
+ * @return string to compile (if not using a file as the source)
+ * @access public
+ */
+- function compile(&$flexy,$string = false)
++ function compile($flexy,$string = false)
+ {
+ echo "No compiler implemented!";
+ }
+--- a/HTML/Template/Flexy/Element.php 2016/05/26 03:59:27 339237
++++ a/HTML/Template/Flexy/Element.php 2016/05/26 04:01:15 339238
+@@ -127,7 +127,7 @@
+ * or HTML attributes name="value" pairs
+ * @access public
+ */
+- function HTML_Template_Flexy_Element($tag='', $attributes=null)
++ function __construct($tag='', $attributes=null)
+ {
+
+ $this->tag = strtolower($tag);