Subject: pkg/28632: mail/mutt header file conflict on IRIX 5.3
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <georg.schwarz@freenet.org>
List: pkgsrc-bugs
Date: 12/12/2004 14:35:00
>Number:         28632
>Category:       pkg
>Synopsis:       mail/mutt header file conflict on IRIX 5.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 12 14:35:00 +0000 2004
>Originator:     Georg Schwarz
>Release:        current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
On IRIX 5.3 there is a known conflict between inttypes.h and sys/types.h. mutt-1.4.2.1 tries to compile with both of them included and fails.
>How-To-Repeat:

>Fix:
--- Makefile.orig       2004-12-12 14:08:24.000000000 +0100
+++ Makefile    2004-12-12 14:10:56.000000000 +0100
@@ -33,6 +33,13 @@
 CONFIGURE_ARGS+=       --without-wc-funcs
 .endif
 
+# On IRIX 5.3 inttypes.h is known to conflict with sys/types.h
+#
+
+.if ${LOWER_OPSYS} == "irix5.3"
+CONFIGURE_ENV+=         ac_cv_header_inttypes_h="no"
+.endif
+
 # There is a problem using /bin/sh on old NetBSD releases, so use /bin/ksh
 # there.
 #