summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2008-01-27 06:05:17 +0000
committerJoshua Kinard <kumba@gentoo.org>2008-01-27 06:05:17 +0000
commit6b7834a8ff852c4c6b7ba0a5ac1fefb67e1b4d39 (patch)
treee975e5dd6da741fd58c83118fe37a2004d5ad8bc /net-mail
parentDelete old version. (diff)
downloadgentoo-2-6b7834a8ff852c4c6b7ba0a5ac1fefb67e1b4d39.tar.gz
gentoo-2-6b7834a8ff852c4c6b7ba0a5ac1fefb67e1b4d39.tar.bz2
gentoo-2-6b7834a8ff852c4c6b7ba0a5ac1fefb67e1b4d39.zip
Add patch to fix issue reported in #161855.
(Portage version: 2.1.4)
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/mhonarc/ChangeLog11
-rw-r--r--net-mail/mhonarc/files/digest-mhonarc-2.6.16-r1 (renamed from net-mail/mhonarc/files/digest-mhonarc-2.6.16)0
-rw-r--r--net-mail/mhonarc/files/mhonarc-2.6.16-list-output-order.patch45
-rw-r--r--net-mail/mhonarc/mhonarc-2.6.16-r1.ebuild (renamed from net-mail/mhonarc/mhonarc-2.6.16.ebuild)9
4 files changed, 61 insertions, 4 deletions
diff --git a/net-mail/mhonarc/ChangeLog b/net-mail/mhonarc/ChangeLog
index 0570582cf309..524ac80583b4 100644
--- a/net-mail/mhonarc/ChangeLog
+++ b/net-mail/mhonarc/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-mail/mhonarc
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mhonarc/ChangeLog,v 1.12 2007/07/02 14:56:07 peper Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mhonarc/ChangeLog,v 1.13 2008/01/27 06:05:16 kumba Exp $
+
+*mhonarc-2.6.16-r1 (27 Jan 2008)
+
+ 27 Jan 2008; Joshua Kinard <kumba@gentoo.org>
+ +files/mhonarc-2.6.16-list-output-order.patch, -mhonarc-2.6.16.ebuild,
+ +mhonarc-2.6.16-r1.ebuild:
+ Add patch to fix issue reported in #161855.
02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org> mhonarc-2.6.10.ebuild,
mhonarc-2.6.11.ebuild, mhonarc-2.6.15.ebuild, mhonarc-2.6.16.ebuild:
diff --git a/net-mail/mhonarc/files/digest-mhonarc-2.6.16 b/net-mail/mhonarc/files/digest-mhonarc-2.6.16-r1
index 1a9dae965806..1a9dae965806 100644
--- a/net-mail/mhonarc/files/digest-mhonarc-2.6.16
+++ b/net-mail/mhonarc/files/digest-mhonarc-2.6.16-r1
diff --git a/net-mail/mhonarc/files/mhonarc-2.6.16-list-output-order.patch b/net-mail/mhonarc/files/mhonarc-2.6.16-list-output-order.patch
new file mode 100644
index 000000000000..de4b7a56a274
--- /dev/null
+++ b/net-mail/mhonarc/files/mhonarc-2.6.16-list-output-order.patch
@@ -0,0 +1,45 @@
+--- MHonArc-2.6.16/lib/mhthread.pl.orig 2006-09-08 20:46:48.000000000 -0700
++++ MHonArc-2.6.16/lib/mhthread.pl 2006-09-08 20:47:14.000000000 -0700
+@@ -406,22 +406,22 @@
+ ## Decrement level count if their were replies
+ --$level if ($haverepls);
+
++ ## Close entry text
++ if ($attop) {
++ &print_thread_var($handle, $idx, \$TTOPEND);
++ } elsif (!$single && !$didtliend) {
++ &print_thread_var($handle, $idx, \$TLIEND);
++ }
++
+ ## Check for missing messages
+ if ($DoMissingMsgs && !($attop || $single)) {
+ for ($i=$depth; $i > 0; --$i) {
+- &print_thread_var($handle, $idx, \$TLINONEEND);
+ &print_thread_var($handle, $idx, \$TSUBLISTEND)
+ if $level <= $TLEVELS;
++ &print_thread_var($handle, $idx, \$TLINONEEND);
+ --$level;
+ }
+ }
+-
+- ## Close entry text
+- if ($attop) {
+- &print_thread_var($handle, $idx, \$TTOPEND);
+- } elsif (!$single && !$didtliend) {
+- &print_thread_var($handle, $idx, \$TLIEND);
+- }
+ }
+
+ ##---------------------------------------------------------------------------
+@@ -636,9 +636,9 @@
+ ## Check for missing messages
+ if ($DoMissingMsgs && !($attop || $single)) {
+ for ($i = $depth; $i > 0; $i--) {
+- $ret .= &expand_thread_var($idx, \$TSLICELINONEEND);
+ $ret .= &expand_thread_var($idx, \$TSLICESUBLISTEND)
+ if $level <= $TSLICELEVELS;
++ $ret .= &expand_thread_var($idx, \$TSLICELINONEEND);
+ $level--;
+ }
+ }
+
diff --git a/net-mail/mhonarc/mhonarc-2.6.16.ebuild b/net-mail/mhonarc/mhonarc-2.6.16-r1.ebuild
index 8b79c8beb752..5482972a1139 100644
--- a/net-mail/mhonarc/mhonarc-2.6.16.ebuild
+++ b/net-mail/mhonarc/mhonarc-2.6.16-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mhonarc/mhonarc-2.6.16.ebuild,v 1.2 2007/07/02 14:56:07 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mhonarc/mhonarc-2.6.16-r1.ebuild,v 1.1 2008/01/27 06:05:16 kumba Exp $
inherit perl-app
@@ -18,6 +18,11 @@ KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~amd64"
S="${WORKDIR}/${P/mhonarc/MHonArc}"
+src_unpack() {
+ unpack "${A}"
+ epatch "${FILESDIR}"/${P}-list-output-order.patch
+}
+
src_install() {
sed -e "s|-prefix |-prefix ${D}|g" -i Makefile
perl-module_src_install