From nobody@FreeBSD.org  Thu Jul 12 03:45:26 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id DFD6016A469
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Jul 2007 03:45:26 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id D13BD13C457
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Jul 2007 03:45:26 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l6C3jQ2o047827
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Jul 2007 03:45:26 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l6C3jQAA047825;
	Thu, 12 Jul 2007 03:45:26 GMT
	(envelope-from nobody)
Message-Id: <200707120345.l6C3jQAA047825@www.freebsd.org>
Date: Thu, 12 Jul 2007 03:45:26 GMT
From: Landon Fuller <landonf@threerings.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Missing objc/objc-decls.h header
X-Send-Pr-Version: www-3.0

>Number:         114517
>Category:       gnu
>Synopsis:       [patch] Missing objc/objc-decls.h header
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 12 03:50:04 GMT 2007
>Closed-Date:    Sat Nov 10 22:44:57 UTC 2007
>Last-Modified:  Sat Nov 10 22:44:57 UTC 2007
>Originator:     Landon Fuller
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
Three Rings Design, Inc.
>Environment:
System: FreeBSD lfreebsd7.localdomain 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Jul 11 13:06:03 PDT 2007 root@lfreebsd7.localdomain:/usr/obj/usr/src/sys/GENERIC i386
>Description:
GCC 4.2 includes a new Objective-C header, "objc-decls.h", that is not installed on 7.0-CURRENT.
>How-To-Repeat:
landonf@lfreebsd7:~> cat objc.m 
#include <objc/objc.h>
#include <objc/objc-api.h>

int main (int argc, const char *argv[]) {
        id class = objc_lookup_class("Object");
        return 0;
}

landonf@lfreebsd7:~> gcc objc.m -o test -lobjc                
In file included from objc.m:2:
/usr/include/objc/objc-api.h:33:24: error: objc-decls.h: No such file or directory
>Fix:
--- gnu/lib/libobjc/Makefile.orig	2007-07-11 20:36:28.000000000 -0700
+++ gnu/lib/libobjc/Makefile	2007-07-11 20:37:07.000000000 -0700
@@ -13,7 +13,7 @@
 	nil_method.c NXConstStr.m Object.m objects.c Protocol.m sarray.c \
 	selector.c sendmsg.c thr.c thr-objc.c exception.c
 
-INCS=	encoding.h hash.h objc-api.h objc-list.h objc.h runtime.h \
+INCS=	encoding.h hash.h objc-api.h objc-decls.h objc-list.h objc.h runtime.h \
 	sarray.h thr.h typedstream.h NXConstStr.h Object.h Protocol.h
 INCSDIR=${INCLUDEDIR}/objc
 


>Release-Note:
>Audit-Trail:

From: Nick Barkas <snb@threerings.net>
To: bug-followup@FreeBSD.org,
 Landon Fuller <landonf@threerings.net>
Cc:  
Subject: Re: gnu/114517: [patch] Missing objc/objc-decls.h header
Date: Sat, 10 Nov 2007 23:11:32 +0100

 This PR can be closed now. The fix suggested was committed about four  
 weeks ago; see http://www.freebsd.org/cgi/cvsweb.cgi/src/gnu/lib/ 
 libobjc/Makefile?rev=1.32
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Sat Nov 10 22:44:56 UTC 2007 
State-Changed-Why:  
As Nick mentions, this had been resolved a while ago already. Thanks 
Nick for the reminder and thanks to the submitter for bringing this to 
our attention 

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