NetBSD Problem Report #28632

From www@netbsd.org  Sun Dec 12 14:34:11 2004
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 95EEA251ED9; Sun, 12 Dec 2004 14:34:11 +0000 (UTC)
Message-Id: <20041212143411.95EEA251ED9@narn.netbsd.org>
Date: Sun, 12 Dec 2004 14:34:11 +0000 (UTC)
From: georg.schwarz@freenet.org
Reply-To: georg.schwarz@freenet.org
To: gnats-bugs@netbsd.org
Subject: mail/mutt header file conflict on IRIX 5.3
X-Send-Pr-Version: www-1.0

>Number:         28632
>Category:       pkg
>Synopsis:       mail/mutt header file conflict on IRIX 5.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    irix-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 12 14:35:00 +0000 2004
>Last-Modified:  Fri Dec 24 00:27:01 +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.
 #

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->tron
Responsible-Changed-By: recht@netbsd.org
Responsible-Changed-When: Sun, 12 Dec 2004 18:17:59 +0000
Responsible-Changed-Why:
over to maintainer


Responsible-Changed-From-To: tron->irix-pkg-people
Responsible-Changed-By: tron@netbsd.org
Responsible-Changed-When: Mon, 13 Dec 2004 22:22:12 +0000
Responsible-Changed-Why:
I don't have access to an IRIX system.


From: grant beattie <grant@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/28632 CVS commit: pkgsrc/mail/mutt
Date: Sat, 18 Dec 2004 16:24:20 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	grant
 Date:		Sat Dec 18 16:24:20 UTC 2004

 Modified Files:
 	pkgsrc/mail/mutt: Makefile

 Log Message:
 ignore inttypes.h on irix 5 as it is known to conflict with
 sys/types.h.

 fixes PR pkg/28632 from Georg Schwarz.


 To generate a diff of this commit:
 cvs rdiff -r1.122 -r1.123 pkgsrc/mail/mutt/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: georg.schwarz@freenet.de (Georg Schwarz)
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/28632
Date: Fri, 24 Dec 2004 01:26:21 +0100

 The same issue occurs and the same solution applies, by the way, to
 mail/mutt-current.
 Here there's an additional issue that both sha1.h and md5.h typedef
 uint32_t, which leads to a redeclaration of 'uint32_t' error.

 Fix:

 --- sha1.h.orig 2004-12-24 00:39:17.000000000 +0100
 +++ sha1.h      2004-12-24 00:44:03.000000000 +0100
 @@ -26,6 +26,7 @@
  #  elif SIZEOF_LONG == 4
  typedef unsigned long uint32_t;
  #  endif
 +#define HAVE_UINT32_T
  #endif

  typedef struct {


 --- md5.h.orig  2004-12-24 00:39:02.000000000 +0100
 +++ md5.h       2004-12-24 00:43:40.000000000 +0100
 @@ -46,6 +46,7 @@
  #  elif SIZEOF_LONG == 4
  typedef unsigned long int uint32_t;
  #  endif
 +#define HAVE_UINT32_T
  #endif

  /* MD5 context. */



 (should probably be integrated into mutt rather than into pkgsrc)

 -- 
 Georg Schwarz    http://home.pages.de/~schwarz/
  georg.schwarz@freenet.de   +49 177 8811442

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.