diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-09-23 03:53:02 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-09-23 03:53:02 +0800 |
commit | e782353eee0bb7585ca72374b0d792d90d68c5c0 (patch) | |
tree | 196ba9bbabe58e81181dc686b9d4d6617d900f99 /java | |
parent | 6cfe8262cf1ac23061e8ae92b7fc5cd295eed0c5 (diff) | |
download | marcuscom-ports-e782353eee0bb7585ca72374b0d792d90d68c5c0.tar.gz marcuscom-ports-e782353eee0bb7585ca72374b0d792d90d68c5c0.tar.zst marcuscom-ports-e782353eee0bb7585ca72374b0d792d90d68c5c0.zip |
Sync w/ FreeBSD ports tree. As for deskutils/alexandria, I will do it after
I finish with my day.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7339 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'java')
-rw-r--r-- | java/jdk15/Makefile | 2 | ||||
-rw-r--r-- | java/jdk15/files/patch-j2se::io::io_util.h | 21 |
2 files changed, 22 insertions, 1 deletions
diff --git a/java/jdk15/Makefile b/java/jdk15/Makefile index 6fed8d386..948ad8bf8 100644 --- a/java/jdk15/Makefile +++ b/java/jdk15/Makefile @@ -7,7 +7,7 @@ PORTNAME= jdk PORTVERSION= ${JDK_VERSION}p${JDK_PATCHSET_VERSION} -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= java devel MASTER_SITES= # http://www.sun.com/software/java2/download.html # http://www.eyesbeyond.com/freebsddom/java/jdk15.html diff --git a/java/jdk15/files/patch-j2se::io::io_util.h b/java/jdk15/files/patch-j2se::io::io_util.h new file mode 100644 index 000000000..7a57b60c1 --- /dev/null +++ b/java/jdk15/files/patch-j2se::io::io_util.h @@ -0,0 +1,21 @@ +$FreeBSD: ports/java/jdk15/files/patch-j2se::io::io_util.h,v 1.1 2006/09/09 02:10:02 glewis Exp $ + +--- ../../j2se/src/share/native/java/io/io_util.h 8 Nov 2004 22:27:35 -0000 1.1.1.1 ++++ ../../j2se/src/share/native/java/io/io_util.h 7 Sep 2006 19:40:19 -0000 +@@ -11,7 +11,15 @@ + extern jfieldID IO_fd_fdID; + extern jfieldID IO_handle_fdID; + +-#if !defined(O_DSYNC) || !defined(O_SYNC) ++#ifdef _ALLBSD_SOURCE ++#include <fcntl.h> ++#ifndef O_SYNC ++#define O_SYNC O_FSYNC ++#endif ++#ifndef O_DSYNC ++#define O_DSYNC O_FSYNC ++#endif ++#elif !defined(O_DSYNC) || !defined(O_SYNC) + #define O_SYNC (0x0800) + #define O_DSYNC (0x2000) + #endif |