Subject: Re: pkg/31483
To: None <tron@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: RUMI Szabolcs <rumi@rtfm.hu>
List: pkgsrc-bugs
Date: 10/06/2005 11:57:02
The following reply was made to PR pkg/31483; it has been noted by GNATS.
From: RUMI Szabolcs <rumi@rtfm.hu>
To: Matthias Scheler <tron@NetBSD.org>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/31483
Date: Thu, 6 Oct 2005 13:56:26 +0200
On Thu, 6 Oct 2005 11:58:55 +0100
Matthias Scheler <tron@NetBSD.org> wrote:
> On Thu, Oct 06, 2005 at 10:15:23AM +0100, Matthias Scheler wrote:
> > On Thu, Oct 06, 2005 at 09:55:57AM +0200, RUMI Szabolcs wrote:
> > > checking for int16_t... yes
> >
> > So it has found "int16_t". The question is why the build fails
> > nevertheless.
>
> I think I found the problem. Various of the source files don't include
> "sys/types.h" and assume instead that it will be pulled in by another
> header file (e.g. "stdio.h") which is of course bogus.
>
> Please try the attached patch for "pkgsrc/audio/libaudiofile/Makefile".
Applied patch, didn't work, same error.
On Tru64 you want inttypes.h (as I mentioned in the PR) or sys/bitypes.h for
int16_t etc. as they are not defined in sys/types.h.
Regards,
Szabolcs