pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/procmail Apply hack noted in PR pkg/30999 -- turn...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/71e92016f755
branches:  trunk
changeset: 504813:71e92016f755
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Dec 23 04:36:45 2005 +0000

description:
Apply hack noted in PR pkg/30999 -- turn off inline functions when
compiling in order to fix an infinite loop error on Solaris.

Bump the PKGREVISION to 2.

diffstat:

 mail/procmail/Makefile |   4 ++--
 mail/procmail/hacks.mk |  10 ++++++++++
 2 files changed, 12 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r cf7eb160a12c -r 71e92016f755 mail/procmail/Makefile
--- a/mail/procmail/Makefile    Fri Dec 23 00:38:12 2005 +0000
+++ b/mail/procmail/Makefile    Fri Dec 23 04:36:45 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.38 2005/12/05 20:50:35 rillig Exp $
+# $NetBSD: Makefile,v 1.39 2005/12/23 04:36:45 jlam Exp $
 #
 
 DISTNAME=      procmail-3.22
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    mail
 MASTER_SITES=  ftp://ftp.procmail.org/pub/procmail/
 
diff -r cf7eb160a12c -r 71e92016f755 mail/procmail/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/procmail/hacks.mk    Fri Dec 23 04:36:45 2005 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: hacks.mk,v 1.1 2005/12/23 04:36:45 jlam Exp $
+
+### [Fri Dec 23 04:33:11 UTC 2005 : jlam]
+### Inlining functions seems to cause strstr() to enter an infinite loop
+### on Solaris, so disable it.  This fixes PR pkg/30999.
+###
+.if ${OPSYS} == "SunOS"
+PKG_HACKS+=    solaris-inline
+CFLAGS+=       -fno-inline-functions
+.endif



Home | Main Index | Thread Index | Old Index