From 9ad5c618818dd374dd9aec8c9ba630d5995b2278 Mon Sep 17 00:00:00 2001 From: dsainty Date: Sun, 1 Oct 2006 07:34:16 +0000 Subject: 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. --- mail/nmh/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mail/nmh') diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile index 56780efa071..37edb228586 100644 --- a/mail/nmh/Makefile +++ b/mail/nmh/Makefile @@ -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 @@ COMMENT= Cleaned up MH mailer suite 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. -- cgit v1.2.3