Package: mc
Version: 1:4.6.1-1
Tags: patch

Hi,

The compatibility package unarj is not in sid anymore, and we have the
full free arj package instead. So when trying to list an .arj archive
mc complains that it cannot find unarj, even if arj is installed. Also
there's no Suggests about that.

Attached a patch that fixes both.

regards,
guillem
diff -Naur mc-4.6.1/debian/control mc-4.6.1.new/debian/control
--- mc-4.6.1/debian/control     2005-11-20 22:07:57.000000000 +0200
+++ mc-4.6.1.new/debian/control 2005-11-20 22:06:11.000000000 +0200
@@ -9,7 +9,7 @@
 Package: mc
 Architecture: any
 Depends: ${shlibs:Depends}
-Suggests: perl, mime-support, zip, unzip, bzip2, lynx
+Suggests: perl, mime-support, zip, unzip, bzip2, arj, lynx
 Conflicts: mc-common, suidmanager (<< 0.52)
 Replaces: mc-common, manpages-pl (<= 20030210)
 Description: midnight commander - a powerful file manager
diff -Naur mc-4.6.1/lib/mc.ext.in mc-4.6.1.new/lib/mc.ext.in
--- mc-4.6.1/lib/mc.ext.in      2005-07-23 19:51:15.000000000 +0300
+++ mc-4.6.1.new/lib/mc.ext.in  2005-11-20 22:03:50.000000000 +0200
@@ -142,7 +142,7 @@
 # arj
 regex/\.a(rj|[0-9][0-9])$
        Open=%cd %p#uarj
-       View=%view{ascii} unarj l %f
+       View=%view{ascii} arj l %f
 
 # ha
 regex/\.([Hh][Aa])$

Reply via email to