From d3fc39a41c88ed59a52df9808d8d33ed8ab562d7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 7 Aug 2015 08:22:14 +0200 Subject: php-phpunit-DbUnit: 1.4.1 --- dbunit-autoload.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 dbunit-autoload.patch (limited to 'dbunit-autoload.patch') diff --git a/dbunit-autoload.patch b/dbunit-autoload.patch new file mode 100644 index 0000000..bdc1f05 --- /dev/null +++ b/dbunit-autoload.patch @@ -0,0 +1,15 @@ +--- dbunit.php.rpm 2015-08-07 08:17:06.899086351 +0200 ++++ dbunit.php 2015-08-07 08:17:37.693235622 +0200 +@@ -9,11 +9,7 @@ + * file that was distributed with this source code. + */ + +-if (strpos('@php_bin@', '@php_bin') === 0) { +- set_include_path(dirname(__FILE__) . PATH_SEPARATOR . get_include_path()); +-} +- +-require_once 'PHPUnit/Autoload.php'; ++require_once '/usr/share/php/PHPUnit/Autoload.php'; + + $command = new PHPUnit_Extensions_Database_UI_Command( + new PHPUnit_Extensions_Database_UI_ModeFactory() -- cgit