diff options
Diffstat (limited to 'debian/patches/0005-system-php-constant-time.patch')
-rw-r--r-- | debian/patches/0005-system-php-constant-time.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/0005-system-php-constant-time.patch b/debian/patches/0005-system-php-constant-time.patch new file mode 100644 index 0000000..8f84d6e --- /dev/null +++ b/debian/patches/0005-system-php-constant-time.patch @@ -0,0 +1,27 @@ +Author: Daniel Baumann <daniel@debian.org> +Description: Using system php-constant-time 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 +@@ -14,7 +14,7 @@ return array( + 'splitbrain\\JSStrip\\' => array($vendorDir . '/splitbrain/php-jsstrip/src'), + 'phpseclib3\\' => array($vendorDir . '/phpseclib/phpseclib/phpseclib'), + 'SimplePie\\' => array($vendorDir . '/simplepie/simplepie/src'), +- 'ParagonIE\\ConstantTime\\' => array($vendorDir . '/paragonie/constant_time_encoding/src'), ++ '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'), +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 +@@ -80,7 +80,7 @@ class ComposerStaticInita19a915ee98347a0 + ), + 'ParagonIE\\ConstantTime\\' => + array ( +- 0 => __DIR__ . '/..' . '/paragonie/constant_time_encoding/src', ++ 0 => '/usr/share/php/ParagonIE/ConstantTime' + ), + 'LesserPHP\\tests\\' => + array ( |