From f5e6068c11778d1e4214ca5fd17e8a9a26fa0bd8 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 17 Nov 2017 18:14:43 +0000 Subject: Patch highlighting script for highlight-3 --- www-apps/cgit/highlight-3.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 www-apps/cgit/highlight-3.patch (limited to 'www-apps') 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 -- cgit v1.2.3