Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2009 20:45:35 +0100 (CET)
From:      Björn König <bkoenig@alpha-tierchen.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/130594: Fix java/cacao urgently.
Message-ID:  <20090115194535.23FDB2858B@home.alpha-tierchen.de>
Resent-Message-ID: <200901151950.n0FJo1Mm097120@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         130594
>Category:       ports
>Synopsis:       Fix java/cacao urgently.
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 15 19:50:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Björn König
>Release:        
>Organization:
>Environment:
>Description:
	This PR in conjunction with ports/130584 fixes the port java/cacao
	and saves it from removal on 2009-01-19.

	I'd like to take maintainership.
	An update to 0.99.3 will follow soon.

>How-To-Repeat:
	
>Fix:

	

--- ports-java-cacao.diff begins here ---
diff --git ports/java/cacao/Makefile ports/java/cacao/Makefile
index b97cc59..51a8ea4 100644
--- ports/java/cacao/Makefile
+++ ports/java/cacao/Makefile
@@ -6,19 +6,15 @@
 
 PORTNAME=	cacao
 PORTVERSION=	0.98
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	java devel
 MASTER_SITES=	http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PORTVERSION}/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bkoenig@alpha-tierchen.de
 COMMENT=	JIT compiler for JAVA
 
 BUILD_DEPENDS=	${LOCALBASE}/share/classpath/glibj.zip:${PORTSDIR}/java/classpath
 
-BROKEN=		does not configure
-DEPRECATED=	has been broken for more than 6 months
-EXPIRATION_DATE=2009-01-19
-
 USE_BZIP2=	yes
 USE_AUTOTOOLS=	libltdl
 USE_JAVA=	yes
diff --git ports/java/cacao/files/patch-src-native-jni.h ports/java/cacao/files/patch-src-native-jni.h
new file mode 100644
index 0000000..048fa57
--- /dev/null
+++ ports/java/cacao/files/patch-src-native-jni.h
@@ -0,0 +1,16 @@
+--- src/native/jni.h.orig	2007-04-02 13:23:24.000000000 +0200
++++ src/native/jni.h	2009-01-15 20:32:31.000000000 +0100
+@@ -45,10 +45,12 @@
+ 
+ #include CLASSPATH_JNI_H
+ 
+-
+ #ifndef _JNI_H
+ #define _JNI_H
+ 
++#define JNINativeInterface JNINativeInterface_
++#define JNIInvokeInterface JNIInvokeInterface_
++
+ /* forward typedefs ***********************************************************/
+ 
+ typedef struct localref_table localref_table;
--- ports-java-cacao.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090115194535.23FDB2858B>