summaryrefslogtreecommitdiffstats
path: root/php-scssphp-scssphp-rpm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-scssphp-scssphp-rpm.patch')
-rw-r--r--php-scssphp-scssphp-rpm.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/php-scssphp-scssphp-rpm.patch b/php-scssphp-scssphp-rpm.patch
new file mode 100644
index 0000000..ff150c7
--- /dev/null
+++ b/php-scssphp-scssphp-rpm.patch
@@ -0,0 +1,12 @@
+diff -up ./bin/pscss.rpm ./bin/pscss
+--- ./bin/pscss.rpm 2019-09-16 13:42:28.627488779 +0200
++++ ./bin/pscss 2019-09-16 13:42:36.072460508 +0200
+@@ -16,7 +16,7 @@ if (version_compare(PHP_VERSION, '5.6')
+ die('Requires PHP 5.6 or above');
+ }
+
+-include __DIR__ . '/../scss.inc.php';
++include '/usr/share/php/ScssPhp/ScssPhp/autoload.php';
+
+ use ScssPhp\ScssPhp\Compiler;
+ use ScssPhp\ScssPhp\Parser;