diff options
author | joerg <joerg@pkgsrc.org> | 2007-01-10 16:33:02 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-01-10 16:33:02 +0000 |
commit | 4450dfe0103cf7d64b55fadc29e8745078013094 (patch) | |
tree | b71f5552976f2dc24002f06ad5d1b5a15cea499a /lang/classpath | |
parent | 8562e2badc9e71bb05598ab691713fadf3701be3 (diff) | |
download | pkgsrc-4450dfe0103cf7d64b55fadc29e8745078013094.tar.gz |
For DragonFly, use O_FSYNC when O_SYNC doesn't exist.
Diffstat (limited to 'lang/classpath')
-rw-r--r-- | lang/classpath/distinfo | 3 | ||||
-rw-r--r-- | lang/classpath/patches/patch-ac | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/lang/classpath/distinfo b/lang/classpath/distinfo index b5cd3cdbf9d..b1921e192f7 100644 --- a/lang/classpath/distinfo +++ b/lang/classpath/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.9 2007/01/05 16:48:58 obache Exp $ +$NetBSD: distinfo,v 1.10 2007/01/10 16:33:02 joerg Exp $ SHA1 (classpath-0.93.tar.gz) = 336cae589ec91a4fe212c2149c57b51dab2ca002 RMD160 (classpath-0.93.tar.gz) = 4c72b68766e35adbb2c89170fbdf7f30dd788836 Size (classpath-0.93.tar.gz) = 9534222 bytes SHA1 (patch-aa) = 3c74808a0a0b322b796788483134a7dcec81cfe8 SHA1 (patch-ab) = a788879bb8c0655174fcd10b9357faaca3b0d3d5 +SHA1 (patch-ac) = 4c4a93015ea44945b53db1e250961b4e07eecc15 diff --git a/lang/classpath/patches/patch-ac b/lang/classpath/patches/patch-ac new file mode 100644 index 00000000000..f74d38be2f2 --- /dev/null +++ b/lang/classpath/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.3 2007/01/10 16:33:02 joerg Exp $ + +--- native/jni/java-nio/gnu_java_nio_VMChannel.c.orig 2007-01-10 15:49:02.000000000 +0000 ++++ native/jni/java-nio/gnu_java_nio_VMChannel.c +@@ -79,6 +79,10 @@ exception statement from your version. * + #define ALIGN_DOWN(p,s) ((p) - ((p) % (s))) + #define ALIGN_UP(p,s) ((p) + ((s) - ((p) % (s)))) + ++#if defined(__DragonFly__) && !defined(O_SYNC) ++#define O_SYNC O_FSYNC ++#endif ++ + /* + * Limit to maximum of 16 buffers + */ |