void-packages/srcpkgs/mc/patches/xbps.patch

14 lines
395 B
Diff

--- a/misc/mc.ext.in 2017-08-21 19:28:49.638411103 +0200
+++ b/misc/mc.ext.in 2017-08-21 19:38:05.633602005 +0200
@@ -145,8 +145,8 @@
Open=%cd %p/utar://
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.lz4
-# .tar.xz, .txz
-regex/\.t(ar\.xz|xz)$
+# .tar.xz, .txz, .xbps
+regex/\.(t(ar\.xz|xz)|xbps)$
Open=%cd %p/utar://
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.xz