summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuan Van <langthang@gentoo.org>2004-07-27 17:47:09 +0000
committerTuan Van <langthang@gentoo.org>2004-07-27 17:47:09 +0000
commit45fc063131ff48bb238a11229458f8a36fd4aa7e (patch)
treebf57bcd1e5d345f9abeb1302812e98831c977c37 /mail-client
parentadded sys-apps/sed-4.0.7 (diff)
downloadgentoo-2-45fc063131ff48bb238a11229458f8a36fd4aa7e.tar.gz
gentoo-2-45fc063131ff48bb238a11229458f8a36fd4aa7e.tar.bz2
gentoo-2-45fc063131ff48bb238a11229458f8a36fd4aa7e.zip
add patch to fix access violation on some system.
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/nmh/ChangeLog6
-rw-r--r--mail-client/nmh/Manifest3
-rw-r--r--mail-client/nmh/files/nmh-1.0.4-configure-vitest.patch11
-rw-r--r--mail-client/nmh/nmh-1.0.4-r3.ebuild7
4 files changed, 23 insertions, 4 deletions
diff --git a/mail-client/nmh/ChangeLog b/mail-client/nmh/ChangeLog
index 3a83a2027dec..19b4348fb3d9 100644
--- a/mail-client/nmh/ChangeLog
+++ b/mail-client/nmh/ChangeLog
@@ -1,6 +1,10 @@
# 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.6 2004/07/27 15:11:00 langthang Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/nmh/ChangeLog,v 1.7 2004/07/27 17:47:09 langthang Exp $
+
+ 27 Jul 2004; Tuan Van <langthang@gentoo.org>
+ +files/nmh-1.0.4-configure-vitest.patch, nmh-1.0.4-r3.ebuild:
+ add patch to fix access violation.
*nmh-1.0.4-r3 (27 Jul 2004)
diff --git a/mail-client/nmh/Manifest b/mail-client/nmh/Manifest
index 4f58ea897183..e9014a65c8dc 100644
--- a/mail-client/nmh/Manifest
+++ b/mail-client/nmh/Manifest
@@ -1,7 +1,8 @@
-MD5 ef3ff9c128db342b1d0283d0f8c56112 nmh-1.0.4-r3.ebuild 1288
+MD5 022fb75872572bc11f7d3c297bf4b8dd nmh-1.0.4-r3.ebuild 1296
MD5 b5226cfd0e6f8df4a2bac1c0a3f43133 nmh-1.0.4-r2.ebuild 1846
MD5 3db723fc66fd2344fd0e03eb161be42b ChangeLog 1677
MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
MD5 339b171982f2e23bb6ea3bdd5eeca163 files/digest-nmh-1.0.4-r2 61
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
diff --git a/mail-client/nmh/files/nmh-1.0.4-configure-vitest.patch b/mail-client/nmh/files/nmh-1.0.4-configure-vitest.patch
new file mode 100644
index 000000000000..c2e893aa6118
--- /dev/null
+++ b/mail-client/nmh/files/nmh-1.0.4-configure-vitest.patch
@@ -0,0 +1,11 @@
+--- configure.orig 2004-07-27 10:27:50.396850896 -0700
++++ configure 2004-07-27 10:28:32.788406400 -0700
+@@ -1676,7 +1676,7 @@
+ if eval "test \"`echo '$''{'nmh_cv_attvibug'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+- if echo 'r /nonexist-file
++ if echo 'r ./nonexist-file
+ q' | ex > /dev/null 2>&1
+ then
+ nmh_cv_attvibug=no
diff --git a/mail-client/nmh/nmh-1.0.4-r3.ebuild b/mail-client/nmh/nmh-1.0.4-r3.ebuild
index 75a1927e3057..d6fbcd640672 100644
--- a/mail-client/nmh/nmh-1.0.4-r3.ebuild
+++ b/mail-client/nmh/nmh-1.0.4-r3.ebuild
@@ -1,6 +1,6 @@
# 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.0.4-r3.ebuild,v 1.2 2004/07/27 15:23:35 langthang Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/nmh/nmh-1.0.4-r3.ebuild,v 1.3 2004/07/27 17:47:09 langthang Exp $
inherit eutils
DESCRIPTION="New MH mail reader"
@@ -9,7 +9,7 @@ HOMEPAGE="http://www.mhost.com/nmh/"
SLOT="0"
LICENSE="as-is"
-KEYWORDS="x86 ~sparc ~ppc"
+KEYWORDS="~x86 ~sparc ~ppc"
IUSE=""
DEPEND="virtual/libc
@@ -17,9 +17,12 @@ DEPEND="virtual/libc
>=sys-libs/ncurses-5.2"
src_compile() {
+
[ -z "${EDITOR}" ] && export EDITOR="prompter"
[ -z "${PAGER}" ] && export PAGER="/usr/bin/more"
+ # vitest access violation patch
+ epatch ${FILESDIR}/${P}-configure-vitest.patch || die "patch failed."
# bug #57886
epatch ${FILESDIR}/${P}-m_getfld.patch || die "patch failed."