summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2004-12-24 14:20:53 +0000
committerAndrej Kacian <ticho@gentoo.org>2004-12-24 14:20:53 +0000
commit4ff050c70bf503ee80d600050fae7594936bb956 (patch)
tree5c98f667a8f601fcfbd9c555b9932c05c31042fa /mail-client/nmh
parentadded ~ppc64 (Manifest recommit) (diff)
downloadgentoo-2-4ff050c70bf503ee80d600050fae7594936bb956.tar.gz
gentoo-2-4ff050c70bf503ee80d600050fae7594936bb956.tar.bz2
gentoo-2-4ff050c70bf503ee80d600050fae7594936bb956.zip
Apply patch to fix reply annotation. Closes #69688.
Diffstat (limited to 'mail-client/nmh')
-rw-r--r--mail-client/nmh/ChangeLog9
-rw-r--r--mail-client/nmh/Manifest11
-rw-r--r--mail-client/nmh/files/digest-nmh-1.1-r11
-rw-r--r--mail-client/nmh/files/nmh-1.1-annotate-fix.patch12
-rw-r--r--mail-client/nmh/nmh-1.1-r1.ebuild56
5 files changed, 84 insertions, 5 deletions
diff --git a/mail-client/nmh/ChangeLog b/mail-client/nmh/ChangeLog
index 3564109d92c5..cd29f6558537 100644
--- a/mail-client/nmh/ChangeLog
+++ b/mail-client/nmh/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for mail-client/nmh
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/nmh/ChangeLog,v 1.12 2004/09/25 22:25:49 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/nmh/ChangeLog,v 1.13 2004/12/24 14:20:53 ticho Exp $
+
+*nmh-1.1-r1 (24 Dec 2004)
+
+ 24 Dec 2004; Andrej Kacian <ticho@gentoo.org>
+ +files/nmh-1.1-annotate-fix.patch, +nmh-1.1-r1.ebuild:
+ Apply patch to fix reply annotation. Closes #69688, reported by Adam Jones
+ <jaybuhner77@yahoo.com>.
25 Sep 2004; Jason Wever <weeve@gentoo.org> nmh-1.1.ebuild:
Stable on sparc.
diff --git a/mail-client/nmh/Manifest b/mail-client/nmh/Manifest
index 0a228c7b41f4..0c90d741e130 100644
--- a/mail-client/nmh/Manifest
+++ b/mail-client/nmh/Manifest
@@ -1,12 +1,15 @@
MD5 7299603620b09d98a96faf37e3b4b86b ChangeLog 2540
MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
+MD5 54cd713c77f762c3ddcc442341b89f0c nmh-1.1-r1.ebuild 1654
MD5 b29275af1d20061cef32eeb3d2d25aad nmh-1.1.ebuild 1525
MD5 61328c981af8cf348a2b188506eff58c nmh-1.0.4-r3.ebuild 1391
+MD5 637757c29641c06801989cb38c272984 files/nmh-1.1-install.patch 1077
MD5 06add1122d19eaf6dce391f099b76d3f files/digest-nmh-1.1 59
-MD5 339b171982f2e23bb6ea3bdd5eeca163 files/digest-nmh-1.0.4-r3 61
-MD5 59aed45aec804fa7284a6424a31a1ef3 files/nmh-1.0.4-configure-vitest.patch 356
MD5 20d9382ce8107879e07d57ae4b2b9727 files/nmh-1.0.4-m_getfld.patch 375
-MD5 70aa719a7d3c1d0ee4d481a8a603537a files/nmh-1.1-configure-vitest.patch 332
+MD5 06add1122d19eaf6dce391f099b76d3f files/digest-nmh-1.1-r1 59
+MD5 59aed45aec804fa7284a6424a31a1ef3 files/nmh-1.0.4-configure-vitest.patch 356
+MD5 339b171982f2e23bb6ea3bdd5eeca163 files/digest-nmh-1.0.4-r3 61
MD5 99d2bd65d462ef3d400834c4eb3ab41c files/nmh-1.1-inc-login.patch 552
-MD5 637757c29641c06801989cb38c272984 files/nmh-1.1-install.patch 1077
+MD5 70aa719a7d3c1d0ee4d481a8a603537a files/nmh-1.1-configure-vitest.patch 332
MD5 fa36a4dfabf2747ec6314bd0d81e71ef files/nmh-1.1-m_getfld.patch 571
+MD5 f70df1e47bc2df54ecf613872ce20171 files/nmh-1.1-annotate-fix.patch 446
diff --git a/mail-client/nmh/files/digest-nmh-1.1-r1 b/mail-client/nmh/files/digest-nmh-1.1-r1
new file mode 100644
index 000000000000..9f2970e9ee62
--- /dev/null
+++ b/mail-client/nmh/files/digest-nmh-1.1-r1
@@ -0,0 +1 @@
+MD5 060647c9c60514a2a86f7f194c830096 nmh-1.1.tar.gz 808466
diff --git a/mail-client/nmh/files/nmh-1.1-annotate-fix.patch b/mail-client/nmh/files/nmh-1.1-annotate-fix.patch
new file mode 100644
index 000000000000..a379c9345a08
--- /dev/null
+++ b/mail-client/nmh/files/nmh-1.1-annotate-fix.patch
@@ -0,0 +1,12 @@
+diff -bur nmh/uip/sendsbr.c nmh-fixed/uip/sendsbr.c
+--- nmh/uip/sendsbr.c 2003-10-24 22:17:40.000000000 +0200
++++ nmh-fixed/uip/sendsbr.c 2004-12-24 15:00:09.352367464 +0100
+@@ -1020,7 +1020,7 @@
+ if (is_selected(mp, msgnum)) {
+ if (debugsw)
+ advise (NULL, "annotate message %d", msgnum);
+- annotate (m_name (msgnum), annotext, cp, inplace, 1, 0, 0);
++ annotate (m_name (msgnum), annotext, cp, inplace, 1, -1, 0);
+ }
+ }
+
diff --git a/mail-client/nmh/nmh-1.1-r1.ebuild b/mail-client/nmh/nmh-1.1-r1.ebuild
new file mode 100644
index 000000000000..b9f32299a4e4
--- /dev/null
+++ b/mail-client/nmh/nmh-1.1-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/nmh/nmh-1.1-r1.ebuild,v 1.1 2004/12/24 14:20:53 ticho Exp $
+
+inherit eutils
+DESCRIPTION="New MH mail reader"
+SRC_URI="http://savannah.nongnu.org/download/nmh/${P}.tar.gz"
+HOMEPAGE="http://www.nongnu.org/nmh/"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~x86 ~sparc ~ppc"
+IUSE=""
+
+DEPEND="virtual/libc
+ =sys-libs/db-1.85*
+ >=sys-libs/ncurses-5.2"
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+
+ [ -z "${EDITOR}" ] && export EDITOR="prompter"
+ [ -z "${PAGER}" ] && export PAGER="/usr/bin/more"
+
+ # Patches from bug #22173.
+ epatch ${FILESDIR}/${P}-inc-login.patch || die "epatch failed"
+ epatch ${FILESDIR}/${P}-install.patch || die "epatch failed"
+ # vi test access violation patch
+ epatch ${FILESDIR}/${P}-configure-vitest.patch || die "epatch failed"
+ # bug #57886
+ epatch ${FILESDIR}/${P}-m_getfld.patch || die "epatch failed"
+ # bug #69688
+ epatch ${FILESDIR}/${P}-annotate-fix.patch || die "epatch failed"
+
+ # Redifining libdir to be bindir so the support binaries get installed
+ # correctly. Since no libraries are installed with nmh, this does not
+ # pose a problem at this time.
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --with-editor=${EDITOR} \
+ --with-pager=${PAGER} \
+ --enable-nmh-pop \
+ --sysconfdir=/etc/nmh \
+ --libdir=/usr/bin || die
+ make || die
+}
+
+src_install() {
+ make prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ libdir=${D}/usr/bin \
+ etcdir=${D}/etc/nmh install || die
+ dodoc COMPLETION-TCSH COMPLETION-ZSH TODO FAQ DIFFERENCES \
+ MAIL.FILTERING Changelog* COPYRIGHT
+}