summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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