diff options
author | Remi Collet <remi@remirepo.net> | 2023-06-27 15:51:00 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-06-27 15:51:00 +0200 |
commit | 3efe286cca172dea845e848f39fc975c7856c548 (patch) | |
tree | 6832d1f9cf19802f6eb8cb1888d23744f4a4d382 /php-nikic-php-parser5-rpm.patch |
duplicate v4
Diffstat (limited to 'php-nikic-php-parser5-rpm.patch')
-rw-r--r-- | php-nikic-php-parser5-rpm.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/php-nikic-php-parser5-rpm.patch b/php-nikic-php-parser5-rpm.patch new file mode 100644 index 0000000..66edc42 --- /dev/null +++ b/php-nikic-php-parser5-rpm.patch @@ -0,0 +1,18 @@ +diff -up ./bin/php-parse.rpm ./bin/php-parse +--- ./bin/php-parse.rpm 2016-04-19 15:41:41.000000000 +0200 ++++ ./bin/php-parse 2016-04-20 06:33:22.712063600 +0200 +@@ -1,12 +1,7 @@ + #!/usr/bin/env php + <?php + +-foreach ([__DIR__ . '/../../../autoload.php', __DIR__ . '/../vendor/autoload.php'] as $file) { +- if (file_exists($file)) { +- require $file; +- break; +- } +-} ++require '/usr/share/php/PhpParser4/autoload.php'; + + ini_set('xdebug.max_nesting_level', 3000); + + |