From n@nespor.at  Thu May 17 09:36:40 2007
Return-Path: <n@nespor.at>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 4C2AE16A401
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 17 May 2007 09:36:40 +0000 (UTC)
	(envelope-from n@nespor.at)
Received: from grace.univie.ac.at (grace.univie.ac.at [131.130.3.115])
	by mx1.freebsd.org (Postfix) with ESMTP id 0C02813C480
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 17 May 2007 09:36:40 +0000 (UTC)
	(envelope-from n@nespor.at)
Received: from joan.univie.ac.at ([131.130.3.110] helo=joan.univie.ac.at)
	by grace.univie.ac.at with esmtp (Exim 4.67)
	(envelope-from <n@nespor.at>)
	id 1Hoc2N-0004ZD-UX
	for FreeBSD-gnats-submit@freebsd.org; Thu, 17 May 2007 11:12:43 +0200
Received: from chello213047091187.1.14.univie.teleweb.at ([213.47.91.187] helo=justuss.tulipan.home)
	by joan.univie.ac.at with esmtps (TLSv1:AES256-SHA:256)
	(Exim 4.67)
	(envelope-from <n@nespor.at>)
	id 1Hoc2N-0006G4-Rw
	for FreeBSD-gnats-submit@freebsd.org; Thu, 17 May 2007 11:12:43 +0200
Received: from justuss.tulipan.home (localhost.tulipan.home [127.0.0.1])
	by justuss.tulipan.home (8.13.8/8.13.6) with ESMTP id l4H9Cg2b008369
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 17 May 2007 11:12:42 +0200 (CEST)
	(envelope-from nikolai@justuss.tulipan.home)
Received: (from nikolai@localhost)
	by justuss.tulipan.home (8.13.8/8.13.6/Submit) id l4H9Cgg8008368;
	Thu, 17 May 2007 11:12:42 +0200 (CEST)
	(envelope-from nikolai)
Message-Id: <200705170912.l4H9Cgg8008368@justuss.tulipan.home>
Date: Thu, 17 May 2007 11:12:42 +0200 (CEST)
From: Nikolai Nespor <bugs@nespor.at>
Reply-To: Nikolai Nespor <bugs@nespor.at>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] java/diablo-jdk15: jni.h include error
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         112729
>Category:       ports
>Synopsis:       [PATCH] java/diablo-jdk15: jni.h include error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    glewis
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 17 09:40:03 GMT 2007
>Closed-Date:    Fri May 18 15:27:29 GMT 2007
>Last-Modified:  Fri May 18 15:27:29 GMT 2007
>Originator:     Nikolai Nespor
>Release:        FreeBSD 6.2-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD justuss 6.2-RELEASE-p4


	
>Description:
	The include for jni_md.h in include/jni.h is missing the directory
	"freebsd".
>How-To-Repeat:
	
>Fix:

--- diablo-jdk1.5.0.patch begins here ---
--- jni.h.orig  Thu May 17 10:54:55 2007
+++ jni.h       Thu May 17 10:23:21 2007
@@ -24,7 +24,7 @@
 /* jni_md.h contains the machine-dependent typedefs for jbyte, jint
    and jlong */
 
-#include "jni_md.h"
+#include "freebsd/jni_md.h"
 
 #ifdef __cplusplus
 extern "C" {
--- diablo-jdk1.5.0.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-java->glewis 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu May 17 13:12:42 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112729 
State-Changed-From-To: open->closed 
State-Changed-By: glewis 
State-Changed-When: Fri May 18 15:25:28 UTC 2007 
State-Changed-Why:  
Thats not a bug.  Check jni.h in the Linux or Solaris JDKs and you will 
see the same thing.  Its expected that you have the appropriate system 
specific include path in your list of include paths when you compile a 
JNI application.  This has always been the case. 

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