From nobody@FreeBSD.org  Tue Feb 16 20:50:29 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id EADA7106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 16 Feb 2010 20:50:29 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id D8D598FC1C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 16 Feb 2010 20:50:29 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o1GKoTcF003236
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 16 Feb 2010 20:50:29 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o1GKoTWI003235;
	Tue, 16 Feb 2010 20:50:29 GMT
	(envelope-from nobody)
Message-Id: <201002162050.o1GKoTWI003235@www.freebsd.org>
Date: Tue, 16 Feb 2010 20:50:29 GMT
From: Alexander Best <alexbestms@wwu.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] gcc complains about implicit declaration of isalnum() in contrib/gdtoa/hexnan.c
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         144019
>Category:       kern
>Synopsis:       [gdtoa] [patch] gcc complains about implicit declaration of isalnum() in contrib/gdtoa/hexnan.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    uqs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 16 21:00:09 UTC 2010
>Closed-Date:    Wed Jun 09 14:34:45 UTC 2010
>Last-Modified:  Wed Jun 09 14:34:45 UTC 2010
>Originator:     Alexander Best
>Release:        9.0-CURRENT
>Organization:
>Environment:
FreeBSD otaku 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r203786M: Thu Feb 11 23:40:42 CET 2010     root@otaku:/usr/obj/usr/src/sys/ARUNDEL  amd64
>Description:
little patch to stop gcc from complaining about the implicit declaration of
isalnum().

although this file comes from vendor contributed software (gdtoa) the cause
for the warning is related to local freebsd specific changes in the file which
are not part of the original file shipped by the vendor. so i guess this can
be fixed directly in head.

cheers.
alex
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: contrib/gdtoa/hexnan.c
===================================================================
--- contrib/gdtoa/hexnan.c	(revision 203939)
+++ contrib/gdtoa/hexnan.c	(working copy)
@@ -31,6 +31,8 @@
 
 /* $FreeBSD$ */
 
+#include <ctype.h>
+
 #include "gdtoaimp.h"
 
  static void


>Release-Note:
>Audit-Trail:

From: Alexander Best <alexbestms@wwu.de>
To: <bug-followup@FreeBSD.org>
Cc:  
Subject: Re: kern/144019: [gtdoa] [patch] gcc complains about implicit
 declaration of isalnum() in contrib/gdtoa/hexnan.c
Date: Tue, 23 Mar 2010 12:35:05 +0100 (CET)

 this problem no longer occurs in the latest vendor revision of gdtoa (dated
 20100202) btw. maybe somebody wants to do the vendor import?
 
 -- 
 Alexander Best

From: Alexander Best <alexbestms@uni-muenster.de>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/144019: [gtdoa] [patch] gcc complains about implicit 
	declaration of isalnum() in contrib/gdtoa/hexnan.c
Date: Fri, 4 Jun 2010 18:34:13 +0200

 1. please change tag to [gdtoa]
 2. please mark as patched (see r208753)
 3. please assign to uqs@ as MFC reminder
 
 cheers.
 
 -- 
 Alexander Best
State-Changed-From-To: open->patched 
State-Changed-By: linimon 
State-Changed-When: Fri Jun 4 19:02:16 UTC 2010 
State-Changed-Why:  
See r208753. 


Responsible-Changed-From-To: freebsd-bugs->uqs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Jun 4 19:02:16 UTC 2010 
Responsible-Changed-Why:  
Set as MFC reminder. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144019 
State-Changed-From-To: patched->closed 
State-Changed-By: uqs 
State-Changed-When: Wed Jun 9 14:33:46 UTC 2010 
State-Changed-Why:  
Merge to RELENG_8 and will appear in 8.1 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144019 
>Unformatted:
