File use-lessopen.patch of Package source-highlight

Index: source-highlight-3.1.8/src/src-hilite-lesspipe.sh.in
===================================================================
--- source-highlight-3.1.8.orig/src/src-hilite-lesspipe.sh.in	2015-03-28 17:24:29.000000000 +0100
+++ source-highlight-3.1.8/src/src-hilite-lesspipe.sh.in	2016-03-07 10:30:18.229292034 +0100
@@ -7,7 +7,7 @@
 	*Makefile|*makefile) 
         source-highlight --failsafe -f esc --lang-def=makefile.lang --style-file=esc.style -i "$source" ;;
 	*.tar|*.tgz|*.gz|*.bz2|*.xz)
-        lesspipe "$source" ;;
+        lessopen.sh "$source" ;;
         *) source-highlight --failsafe --infer-lang -f esc --style-file=esc.style -i "$source" ;;
     esac
 done
openSUSE Build Service is sponsored by