summaryrefslogtreecommitdiffstats
path: root/php-bartlett-umlwriter-rpm.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-11-25 07:43:23 +0100
committerRemi Collet <remi@remirepo.net>2019-11-25 07:43:23 +0100
commit2bf3191deb4214e3abc6749fe1b5958a690a56a9 (patch)
tree53e08f562bddfaa2c2a7d223d767d0a578f3be6f /php-bartlett-umlwriter-rpm.patch
parent17b307a618d89a9ce0dd2e59625e2985b36eae7d (diff)
update to 1.3.1 (no change)HEADmaster
Diffstat (limited to 'php-bartlett-umlwriter-rpm.patch')
-rw-r--r--php-bartlett-umlwriter-rpm.patch18
1 files changed, 5 insertions, 13 deletions
diff --git a/php-bartlett-umlwriter-rpm.patch b/php-bartlett-umlwriter-rpm.patch
index a32dd8b..9b6dca6 100644
--- a/php-bartlett-umlwriter-rpm.patch
+++ b/php-bartlett-umlwriter-rpm.patch
@@ -1,7 +1,7 @@
diff -up ./bin/umlwriter.rpm ./bin/umlwriter
---- ./bin/umlwriter.rpm 2015-04-02 13:07:20.000000000 +0200
-+++ ./bin/umlwriter 2015-06-26 10:34:32.782633902 +0200
-@@ -2,23 +2,14 @@
+--- ./bin/umlwriter.rpm 2019-11-25 07:34:20.748457734 +0100
++++ ./bin/umlwriter 2019-11-25 07:35:39.059933977 +0100
+@@ -2,17 +2,8 @@
<?php
$appName = 'umlWriter';
@@ -16,16 +16,8 @@ diff -up ./bin/umlwriter.rpm ./bin/umlwriter
- }
-}
-require_once $vendorDir . '/autoload.php';
--
- if (PHP_SAPI !== 'cli') {
- return;
- }
-
+$vendorDir = '/usr/share/php';
+require_once $vendorDir . '/Bartlett/UmlWriter/autoload.php';
-+
- use Bartlett\UmlWriter\Console\Application;
--$application = new Application($appName, '1.3');
-+$application = new Application($appName, '@package_version@');
- $application->run();
+ if (PHP_SAPI !== 'cli') {
+ return;