summaryrefslogtreecommitdiffstats
path: root/php-phpunit-mock-objects6-rpm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-phpunit-mock-objects6-rpm.patch')
-rw-r--r--php-phpunit-mock-objects6-rpm.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/php-phpunit-mock-objects6-rpm.patch b/php-phpunit-mock-objects6-rpm.patch
new file mode 100644
index 0000000..2b3b5ba
--- /dev/null
+++ b/php-phpunit-mock-objects6-rpm.patch
@@ -0,0 +1,13 @@
+diff -up ./src/Generator.php.rpm ./src/Generator.php
+--- ./src/Generator.php.rpm 2017-12-01 10:18:01.270374273 +0100
++++ ./src/Generator.php 2017-12-01 10:18:06.056400373 +0100
+@@ -22,6 +22,9 @@ use SoapClient;
+ use Text_Template;
+ use Traversable;
+
++# temporary workaround
++require_once 'Text/Template.php';
++
+ /**
+ * Mock Object Code Generator
+ */