Bug 251404 - misc/mc: add compatibility to (un)rar 6.x and bump PORTREVISION
Summary: misc/mc: add compatibility to (un)rar 6.x and bump PORTREVISION
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ben Woods
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-26 12:28 UTC by Ralf van der Enden
Modified: 2020-12-01 08:22 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (woodsb02)


Attachments
Add compatibility to (un)rar 6.x (1.26 KB, patch)
2020-11-26 12:28 UTC, Ralf van der Enden
no flags Details | Diff
Add compatibility to (un)rar 6.x (fixed) (1.26 KB, patch)
2020-12-01 08:22 UTC, Ralf van der Enden
tremere: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf van der Enden 2020-11-26 12:28:56 UTC
Created attachment 219998 [details]
Add compatibility to (un)rar 6.x

Since (un)rar 6.x has become the default version in ports I could no longer view the contents of .RAR files with mc.

My patch remedies that.

Added file(s):
files/patch-src_vfs_extfs_helpers_urar.in
Comment 1 Ralf van der Enden 2020-12-01 08:22:20 UTC
Created attachment 220134 [details]
Add compatibility to (un)rar 6.x (fixed)


The previous patch caused the creation of a file named 'x4' in the folder you opened a RAR file in. Not sure why that happens, since according to 'man test' you should be able to use [ str1 > str2 ].

Changed it so it uses integer comparison, which seems to work fine on my machine.