summaryrefslogtreecommitdiffstats
path: root/cgit-0.9.1-highlightv3.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-08-24 08:42:20 +0200
committerRemi Collet <remi@remirepo.net>2018-08-24 08:42:20 +0200
commitcc38aafd7035d56c34c7447362a60f0695597a6b (patch)
tree36845f33282ceb578ba8e0c6f559711f18b070e2 /cgit-0.9.1-highlightv3.patch
import 1.1-3 from epel7
Diffstat (limited to 'cgit-0.9.1-highlightv3.patch')
-rw-r--r--cgit-0.9.1-highlightv3.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/cgit-0.9.1-highlightv3.patch b/cgit-0.9.1-highlightv3.patch
new file mode 100644
index 0000000..df06a81
--- /dev/null
+++ b/cgit-0.9.1-highlightv3.patch
@@ -0,0 +1,13 @@
+diff -Nur cgit-0.9.1.orig/filters/syntax-highlighting.sh cgit-0.9.1/filters/syntax-highlighting.sh
+--- cgit-0.9.1.orig/filters/syntax-highlighting.sh 2012-11-14 17:28:59.000000000 -0700
++++ cgit-0.9.1/filters/syntax-highlighting.sh 2012-11-17 10:47:07.870778180 -0700
+@@ -53,7 +53,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