summaryrefslogtreecommitdiffstats
path: root/php-scssphp-scssphp-rpm.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-09-16 14:10:46 +0200
committerRemi Collet <remi@remirepo.net>2019-09-16 14:10:46 +0200
commited118e254bde4c6321c41fb1f5ad574f75b815e7 (patch)
treee9073b0a76f85fafcb0b42c3701f10885f159525 /php-scssphp-scssphp-rpm.patch
new package
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;