void-packages/srcpkgs/mc/patches/xbps.patch
0x5c 9c58265122 mc: update to 4.8.31.
Removed the mksh patch since it was purely adding a feature that isn't
related to void, hasn't been accepted by upstream (yet?), and that the
correctness of which is unclear. I also don't use mksh and have no way
to ensure the patch is still good or remains good in the future.
See: https://midnight-commander.org/ticket/3748
2024-02-14 15:57:23 -05:00

14 lines
341 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