summaryrefslogtreecommitdiff
path: root/www-apps/cgit
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-11-17 18:14:43 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2017-11-17 18:14:43 +0000
commitf5e6068c11778d1e4214ca5fd17e8a9a26fa0bd8 (patch)
treed52bcf0c7e9e3ce29032cae2c59fae1c944add70 /www-apps/cgit
parentmythweb patch to work with php7.1 (diff)
downloadpatches-f5e6068c11778d1e4214ca5fd17e8a9a26fa0bd8.tar.bz2
patches-f5e6068c11778d1e4214ca5fd17e8a9a26fa0bd8.tar.xz
patches-f5e6068c11778d1e4214ca5fd17e8a9a26fa0bd8.zip
Patch highlighting script for highlight-3
Diffstat (limited to 'www-apps/cgit')
-rw-r--r--www-apps/cgit/highlight-3.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/www-apps/cgit/highlight-3.patch b/www-apps/cgit/highlight-3.patch
new file mode 100644
index 0000000..243a566
--- /dev/null
+++ b/www-apps/cgit/highlight-3.patch
@@ -0,0 +1,12 @@
+--- filters/syntax-highlighting.sh 2016-11-23 04:24:36.000000000 +0000
++++ /usr/lib64/cgit/filters/syntax-highlighting.sh 2017-08-07 21:11:24.179856998 +0100
+@@ -115,7 +115,7 @@
+ # found (for example) on EPEL 6.
+ #
+ # This is for version 2
+-exec highlight --force -f -I -X -S "$EXTENSION" 2>/dev/null
++#exec highlight --force -f -I -X -S "$EXTENSION" 2>/dev/null
+
+ # This is for version 3
+-#exec highlight --force -f -I -O xhtml -S "$EXTENSION" 2>/dev/null
++exec highlight --force -f -I -O xhtml -S "$EXTENSION" 2>/dev/null