summaryrefslogtreecommitdiffstats
path: root/debian/patches/0007-system-php-kissifrot-php-ixr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0007-system-php-kissifrot-php-ixr.patch')
-rw-r--r--debian/patches/0007-system-php-kissifrot-php-ixr.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/debian/patches/0007-system-php-kissifrot-php-ixr.patch b/debian/patches/0007-system-php-kissifrot-php-ixr.patch
new file mode 100644
index 0000000..bc344ed
--- /dev/null
+++ b/debian/patches/0007-system-php-kissifrot-php-ixr.patch
@@ -0,0 +1,32 @@
+Author: Daniel Baumann <daniel@debian.org>
+Description: Using system php-kissifrot-php-ixr instead of vendor version.
+
+diff -Naurp dokuwiki.orig/vendor/composer/autoload_psr4.php dokuwiki/vendor/composer/autoload_psr4.php
+--- dokuwiki.orig/vendor/composer/autoload_psr4.php
++++ dokuwiki/vendor/composer/autoload_psr4.php
+@@ -17,6 +17,6 @@ return array(
+ 'ParagonIE\\ConstantTime\\' => array('/usr/share/php/ParagonIE/ConstantTime'),
+ 'LesserPHP\\tests\\' => array($vendorDir . '/splitbrain/lesserphp/tests'),
+ 'LesserPHP\\' => array($vendorDir . '/splitbrain/lesserphp/src'),
+- 'IXR\\tests\\' => array($vendorDir . '/kissifrot/php-ixr/tests'),
+- 'IXR\\' => array($vendorDir . '/kissifrot/php-ixr/src'),
++ 'IXR\\tests\\' => array('/usr/share/php/IXR/tests'),
++ 'IXR\\' => array('/usr/share/php/IXR'),
+ );
+diff -Naurp dokuwiki.orig/vendor/composer/autoload_static.php dokuwiki/vendor/composer/autoload_static.php
+--- dokuwiki.orig/vendor/composer/autoload_static.php
++++ dokuwiki/vendor/composer/autoload_static.php
+@@ -92,11 +92,11 @@ class ComposerStaticInita19a915ee98347a0
+ ),
+ 'IXR\\tests\\' =>
+ array (
+- 0 => __DIR__ . '/..' . '/kissifrot/php-ixr/tests',
++ 0 => '/usr/share/php/IXR/tests',
+ ),
+ 'IXR\\' =>
+ array (
+- 0 => __DIR__ . '/..' . '/kissifrot/php-ixr/src',
++ 0 => '/usr/share/php/IXR',
+ ),
+ );
+