diff options
author | glewis <glewis@FreeBSD.org> | 2007-09-02 13:54:44 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2007-09-02 13:54:44 +0800 |
commit | 0701b136f941ca5bc8cdbbeed9636d3b2e7cecac (patch) | |
tree | d1c50ae4896f49a8c095e47bc98172a1f282a917 /java/jdk16 | |
parent | d415a5e308ec84e197f435dd7b2d661359bab7b8 (diff) | |
download | freebsd-ports-graphics-0701b136f941ca5bc8cdbbeed9636d3b2e7cecac.tar.gz freebsd-ports-graphics-0701b136f941ca5bc8cdbbeed9636d3b2e7cecac.tar.zst freebsd-ports-graphics-0701b136f941ca5bc8cdbbeed9636d3b2e7cecac.zip |
. Fix another problem with exec() by using the same static initialisation
block that Linux and Solaris use.
This was already fixed in the repo but I'd neglected to commit the fix
to the port and it was independently submitted as noted below.
Submitted by: Michiel Boland <michiel@boland.org>
Diffstat (limited to 'java/jdk16')
-rw-r--r-- | java/jdk16/Makefile | 2 | ||||
-rw-r--r-- | java/jdk16/files/patch-j2se-lang-UNIXProcess.java.bsd | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/java/jdk16/Makefile b/java/jdk16/Makefile index c0798697995..df99dbef7b0 100644 --- a/java/jdk16/Makefile +++ b/java/jdk16/Makefile @@ -7,7 +7,7 @@ PORTNAME= jdk PORTVERSION= ${JDK_VERSION}.${JDK_UPDATE_VERSION}p${JDK_PATCHSET_VERSION} -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= java devel MASTER_SITES= # http://download.java.net/jdk6/ # http://www.eyesbeyond.com/freebsddom/java/jdk16.html diff --git a/java/jdk16/files/patch-j2se-lang-UNIXProcess.java.bsd b/java/jdk16/files/patch-j2se-lang-UNIXProcess.java.bsd new file mode 100644 index 00000000000..5a0ac49d560 --- /dev/null +++ b/java/jdk16/files/patch-j2se-lang-UNIXProcess.java.bsd @@ -0,0 +1,15 @@ +$FreeBSD$ + +--- ../../j2se/src/solaris/classes/java/lang/UNIXProcess.java.bsd 28 Apr 2007 18:05:52 -0000 1.1 ++++ ../../j2se/src/solaris/classes/java/lang/UNIXProcess.java.bsd 28 Aug 2007 06:42:17 -0000 1.2 +@@ -195,4 +195,10 @@ + } + } + ++ /* This routine initializes JNI field offsets for the class */ ++ private static native void initIDs(); ++ ++ static { ++ initIDs(); ++ } + } |