diff options
author | Kevin Fenzi <kevin@scrye.com> | 2012-11-17 10:53:33 -0700 |
---|---|---|
committer | Kevin Fenzi <kevin@scrye.com> | 2012-11-17 10:53:33 -0700 |
commit | 0133e5aca591d793031a158f6ff22e103f65cccc (patch) | |
tree | 687503c435184d91188bf0a922cfb1eafe268d37 /cgit-0.9.1-highlightv3.patch | |
parent | 76866deca74d6d9a6b6f10d61c2b367fce3b61e6 (diff) | |
download | cgit_EL6-0133e5aca591d793031a158f6ff22e103f65cccc.tar.gz |
Add patch to use correct version of highlight for all branches except epel5
Diffstat (limited to 'cgit-0.9.1-highlightv3.patch')
-rw-r--r-- | cgit-0.9.1-highlightv3.patch | 13 |
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 |