pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/nmh Workaround for SEGV problem running nmh utili...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/877481e77346
branches:  trunk
changeset: 519282:877481e77346
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Sun Oct 01 07:34:16 2006 +0000

description:
Workaround for SEGV problem running nmh utilities built with gcc4 by reducing optimisation.  Allows nmh code to use nmh's private non-standard strcasecmp().  Bump PKGREVISION.  Addresses PR34027.

diffstat:

 mail/nmh/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 54412ba7400b -r 877481e77346 mail/nmh/Makefile
--- a/mail/nmh/Makefile Sun Oct 01 07:19:09 2006 +0000
+++ b/mail/nmh/Makefile Sun Oct 01 07:34:16 2006 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.61 2005/12/29 06:21:51 jlam Exp $
+# $NetBSD: Makefile,v 1.62 2006/10/01 07:34:16 dsainty Exp $
 
 DISTNAME=              nmh-1.0.4
-PKGREVISION=           6
+PKGREVISION=           7
 CATEGORIES=            mail
 MASTER_SITES=          ftp://ftp.mhost.com/pub/nmh/ \
                        ftp://ftp.gw.com/pub/unix/mail/mh/nmh/
@@ -13,6 +13,9 @@
 CONFLICTS=             ja-mh-[0-9]*
 CONFLICTS+=            ja-mh6-[0-9]*
 
+# Avoids SEGV in nmh's private version of strcasecmp() under gcc4
+CFLAGS+=               -O1
+
 # We choose DOT_LOCKING in our patches because ".lock" files are
 # the most common locking mechanism supported by mail software.
 # It also works well over NFS.



Home | Main Index | Thread Index | Old Index