void-packages/srcpkgs/mc/patches/xbps.patch
meator e4e17fe113 mc: update to 4.8.29.
The mc.ext config file has been replaced by mc.ext.ini. This commit
fixes a patch that is affected by this.
2023-04-20 06:38:45 -05:00

14 lines
337 B
Diff

--- a/misc/mc.ext.ini.in
+++ b/misc/mc.ext.ini.in
@@ -238,9 +238,9 @@
Open=%cd %p/utar://
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.lz4
-# .tar.xz, .txz
+# .tar.xz, .txz, .xbps
[tar.xz]
-Regex=\.t(ar\.xz|xz)$
+Regex=\.(t(ar\.xz|xz)|xbps)$
Open=%cd %p/utar://
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.xz