summaryrefslogtreecommitdiffstats
path: root/dbunit-autoload.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-08-07 08:22:14 +0200
committerRemi Collet <fedora@famillecollet.com>2015-08-07 08:22:14 +0200
commitd3fc39a41c88ed59a52df9808d8d33ed8ab562d7 (patch)
tree20e30fa40dd8b6c469e27b9548c898b620d59d65 /dbunit-autoload.patch
parentbc0ce0556aba824a94cebf754ea995bda54e4d66 (diff)
php-phpunit-DbUnit: 1.4.1
Diffstat (limited to 'dbunit-autoload.patch')
-rw-r--r--dbunit-autoload.patch15
1 files changed, 15 insertions, 0 deletions
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()