summaryrefslogtreecommitdiff
path: root/dev-php/PEAR-Text_Wiki_Mediawiki/files/0.2.0-constructor.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-02-15 16:58:00 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-02-15 16:58:00 +0000
commit434d713861b70f6c6563d6ee50a8e64f14c970d9 (patch)
treeb72c523c72e764420f835ba9d63d43ffef687dcf /dev-php/PEAR-Text_Wiki_Mediawiki/files/0.2.0-constructor.patch
parentf78108598211053d41752a83e0345441bb9014ae (diff)
gentoo resync : 15.02.2018
Diffstat (limited to 'dev-php/PEAR-Text_Wiki_Mediawiki/files/0.2.0-constructor.patch')
-rw-r--r--dev-php/PEAR-Text_Wiki_Mediawiki/files/0.2.0-constructor.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-php/PEAR-Text_Wiki_Mediawiki/files/0.2.0-constructor.patch b/dev-php/PEAR-Text_Wiki_Mediawiki/files/0.2.0-constructor.patch
new file mode 100644
index 000000000000..edd8e3572de0
--- /dev/null
+++ b/dev-php/PEAR-Text_Wiki_Mediawiki/files/0.2.0-constructor.patch
@@ -0,0 +1,36 @@
+diff -aurN a/Text/Wiki/Mediawiki.php b/Text/Wiki/Mediawiki.php
+--- a/Text/Wiki/Mediawiki.php 2014-06-04 23:24:45.000000000 -0400
++++ b/Text/Wiki/Mediawiki.php 2018-02-14 13:36:18.777893414 -0500
+@@ -87,7 +87,7 @@
+ * @param array $rules The set of rules to load for this object.
+ */
+ function __construct($rules = null) {
+- parent::Text_Wiki($rules);
++ parent::__construct($rules);
+ $this->addPath('parse', $this->fixPath(dirname(__FILE__)).'Parse/Mediawiki');
+ }
+ }
+diff -aurN a/Text/Wiki/Parse/Mediawiki/Url.php b/Text/Wiki/Parse/Mediawiki/Url.php
+--- a/Text/Wiki/Parse/Mediawiki/Url.php 2014-06-04 23:24:45.000000000 -0400
++++ b/Text/Wiki/Parse/Mediawiki/Url.php 2018-02-14 13:40:21.974024459 -0500
+@@ -87,7 +87,7 @@
+ */
+ function __construct(&$obj)
+ {
+- parent::Text_Wiki_Parse($obj);
++ parent::__construct($obj);
+
+ // convert the list of recognized schemes to a regex-safe string,
+ // where the pattern delim is a slash
+diff -aurN a/Text/Wiki/Parse/Mediawiki/Wikilink.php b/Text/Wiki/Parse/Mediawiki/Wikilink.php
+--- a/Text/Wiki/Parse/Mediawiki/Wikilink.php 2014-06-04 23:24:45.000000000 -0400
++++ b/Text/Wiki/Parse/Mediawiki/Wikilink.php 2018-02-14 13:40:46.030542359 -0500
+@@ -99,7 +99,7 @@
+ function __construct(&$obj)
+ {
+ $default = $this->conf;
+- parent::Text_Wiki_Parse($obj);
++ parent::__construct($obj);
+
+ // override config options for image if specified
+ if (in_array('Image', $this->wiki->disable)) {