diff options
author | Archie Cobbs <archie@FreeBSD.org> | 2004-02-22 21:34:31 +0000 |
---|---|---|
committer | Archie Cobbs <archie@FreeBSD.org> | 2004-02-22 21:34:31 +0000 |
commit | c5eb551448f328a204e704b7e4200e5d3de48f56 (patch) | |
tree | 289d5c7728aca624ee8423169bebf0d6baa3a13b /java/jc/files/patch-aa | |
parent | - Return PORTEPOCH, which was deleted mistakenly by me (diff) |
New port.
JC is a Java virtual machine implementation that converts class
files into C source files using the Soot Java bytecode analysis
framework, compiles them with GCC, and loads them using a built-in
ELF object file loader. JC utilizes the GNU Classpath class library
and provides support for most features you would expect such as
reflection, user class loaders, etc.
WWW: http://jcvm.sourceforge.net/
Notes
Notes:
svn path=/head/; revision=101751
Diffstat (limited to 'java/jc/files/patch-aa')
-rw-r--r-- | java/jc/files/patch-aa | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/java/jc/files/patch-aa b/java/jc/files/patch-aa new file mode 100644 index 000000000000..3e29b913d7a4 --- /dev/null +++ b/java/jc/files/patch-aa @@ -0,0 +1,23 @@ +--- classpath-0.07/native/target/generic/target_generic_file.h 2003/11/02 15:51:19 1.11 ++++ classpath-0.07/native/target/generic/target_generic_file.h 2004/01/27 20:47:54 1.13 +@@ -58,6 +58,7 @@ + + #include <stdlib.h> + #include <assert.h> ++#include <fcntl.h> + + #include "target_native.h" + #include "target_native_math_int.h" +@@ -90,7 +91,11 @@ + #define TARGET_NATIVE_FILE_FILEFLAG_APPEND O_APPEND + #endif + #ifndef TARGET_NATIVE_FILE_FILEFLAG_SYNC +- #define TARGET_NATIVE_FILE_FILEFLAG_SYNC O_SYNC ++ #if !defined (O_SYNC) && defined (O_FSYNC) ++ #define TARGET_NATIVE_FILE_FILEFLAG_SYNC O_FSYNC ++ #else ++ #define TARGET_NATIVE_FILE_FILEFLAG_SYNC O_SYNC ++ #endif + #endif + #ifndef TARGET_NATIVE_FILE_FILEFLAG_DSYNC + #ifdef O_DSYNC |