summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-03 11:00:26 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-03 11:00:26 +0000
commit0359327b37d6d17d99204b8af91b2a563b303ed0 (patch)
tree188c8dd9df03fd9475e5ce35bce3807186a57ff6 /app-misc
parentDefine RDEPEND (diff)
downloadgentoo-2-0359327b37d6d17d99204b8af91b2a563b303ed0.tar.gz
gentoo-2-0359327b37d6d17d99204b8af91b2a563b303ed0.tar.bz2
gentoo-2-0359327b37d6d17d99204b8af91b2a563b303ed0.zip
.tbz2 filetype support wrt #219412 by Ian Abbott
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/mc/ChangeLog6
-rw-r--r--app-misc/mc/files/mc-4.7.0_pre1-tbz2_filetype.patch17
-rw-r--r--app-misc/mc/mc-4.7.0_pre1.ebuild5
3 files changed, 25 insertions, 3 deletions
diff --git a/app-misc/mc/ChangeLog b/app-misc/mc/ChangeLog
index d06a3ac2b1a3..191eca561550 100644
--- a/app-misc/mc/ChangeLog
+++ b/app-misc/mc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/mc
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.153 2009/08/02 15:39:41 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.154 2009/08/03 11:00:26 ssuominen Exp $
+
+ 03 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> mc-4.7.0_pre1.ebuild,
+ +files/mc-4.7.0_pre1-tbz2_filetype.patch:
+ .tbz2 filetype support wrt #219412 by Ian Abbott
02 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> mc-4.7.0_pre1.ebuild,
+files/mc-4.7.0_pre1-ebuild_syntax.patch:
diff --git a/app-misc/mc/files/mc-4.7.0_pre1-tbz2_filetype.patch b/app-misc/mc/files/mc-4.7.0_pre1-tbz2_filetype.patch
new file mode 100644
index 000000000000..693716251a00
--- /dev/null
+++ b/app-misc/mc/files/mc-4.7.0_pre1-tbz2_filetype.patch
@@ -0,0 +1,17 @@
+http://www.midnight-commander.org/ticket/1452
+http://bugs.gentoo.org/show_bug.cgi?id=219412
+
+Patch by Ian Abbott
+
+diff -ur mc-4.7.0-pre1.orig/misc/mc.ext.in mc-4.7.0-pre1/misc/mc.ext.in
+--- mc-4.7.0-pre1.orig/misc/mc.ext.in 2009-06-23 21:55:11.000000000 +0300
++++ mc-4.7.0-pre1/misc/mc.ext.in 2009-08-03 13:59:39.000000000 +0300
+@@ -115,7 +115,7 @@
+ # Open=%cd %p#utar
+ View=%view{ascii} bzip -dc %f 2>/dev/null | tar tvvf -
+
+-regex/\.t(ar\.bz2|bz|b2)$
++regex/\.t(ar\.bz2|bz2?|b2)$
+ Open=%cd %p#utar
+ View=%view{ascii} bzip2 -dc %f 2>/dev/null | tar tvvf -
+
diff --git a/app-misc/mc/mc-4.7.0_pre1.ebuild b/app-misc/mc/mc-4.7.0_pre1.ebuild
index 8c8f1f2369f5..391648f3a076 100644
--- a/app-misc/mc/mc-4.7.0_pre1.ebuild
+++ b/app-misc/mc/mc-4.7.0_pre1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.7.0_pre1.ebuild,v 1.5 2009/08/02 15:39:41 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.7.0_pre1.ebuild,v 1.6 2009/08/03 11:00:26 ssuominen Exp $
EAPI=2
inherit eutils
@@ -33,7 +33,8 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
src_prepare() {
- epatch "${FILESDIR}"/${P}-ebuild_syntax.patch
+ epatch "${FILESDIR}"/${P}-ebuild_syntax.patch \
+ "${FILESDIR}"/${P}-tbz2_filetype.patch
}
src_configure() {