NetBSD Problem Report #46492
From dholland@macaran.localdomain Mon May 28 23:52:42 2012
Return-Path: <dholland@macaran.localdomain>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id 7BBD163B882
for <gnats-bugs@gnats.NetBSD.org>; Mon, 28 May 2012 23:52:42 +0000 (UTC)
Message-Id: <20120528235437.EBF586E220@macaran.localdomain>
Date: Mon, 28 May 2012 19:54:37 -0400 (EDT)
From: dholland@eecs.harvard.edu
Reply-To: dholland@eecs.harvard.edu
To: gnats-bugs@gnats.NetBSD.org
Subject: term.h is missing cdefs.h
X-Send-Pr-Version: 3.95
>Number: 46492
>Category: lib
>Synopsis: term.h is missing cdefs.h
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: lib-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 28 23:55:00 +0000 2012
>Closed-Date: Mon Jun 11 18:06:12 +0000 2012
>Last-Modified: Mon Jun 11 18:06:12 +0000 2012
>Originator: David A. Holland
>Release: NetBSD 6.99.3 (20120227), affects -6 also
>Organization:
>Environment:
System: NetBSD macaran 6.99.3 NetBSD 6.99.3 (MACARAN) #11: Mon Feb 27 17:12:40 EST 2012 dholland@macaran:/usr/src/sys/arch/amd64/compile/MACARAN amd64
Architecture: x86_64
Machine: amd64
>Description:
term.h uses __BEGIN_DECLS without including cdefs.h, and therefore
doesn't build if used alone.
>How-To-Repeat:
% cat blah.c
#include <term.h>
% gcc -c blah.c
In file included from blah.c:1:0:
/usr/include/term.h:1465:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
Exit 1
%
>Fix:
obvious
>Release-Note:
>Audit-Trail:
From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/46492 CVS commit: src/lib/libterminfo
Date: Tue, 29 May 2012 00:27:59 +0000
Module Name: src
Committed By: dholland
Date: Tue May 29 00:27:59 UTC 2012
Modified Files:
src/lib/libterminfo: term.h
Log Message:
Add cdefs.h per PR 46492.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/libterminfo/term.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/46492 CVS commit: pkgsrc/chat/weechat
Date: Tue, 29 May 2012 00:32:28 +0000
Module Name: pkgsrc
Committed By: dholland
Date: Tue May 29 00:32:28 UTC 2012
Modified Files:
pkgsrc/chat/weechat: Makefile distinfo
Added Files:
pkgsrc/chat/weechat/patches: patch-src_gui_curses_gui-curses-term_c
Log Message:
Needs curl to build. Also, add workaround for build failure caused by
(base) PR 46492. PKGREVISION -> 1.
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 pkgsrc/chat/weechat/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/chat/weechat/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/chat/weechat/patches/patch-src_gui_curses_gui-curses-term_c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Jeff Rizzo" <riz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/46492 CVS commit: [netbsd-6] src/lib/libterminfo
Date: Mon, 11 Jun 2012 17:48:37 +0000
Module Name: src
Committed By: riz
Date: Mon Jun 11 17:48:37 UTC 2012
Modified Files:
src/lib/libterminfo [netbsd-6]: term.h
Log Message:
Pull up following revision(s) (requested by dholland in ticket #292):
lib/libterminfo/term.h: revision 1.12
Add cdefs.h per PR 46492.
To generate a diff of this commit:
cvs rdiff -u -r1.10.4.1 -r1.10.4.2 src/lib/libterminfo/term.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 11 Jun 2012 18:06:12 +0000
State-Changed-Why:
Fixed.
>Unformatted:
(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.