diff options
author | he <he@pkgsrc.org> | 2004-05-21 12:42:23 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2004-05-21 12:42:23 +0000 |
commit | 31fd195f29ba5458390a8450f4ba906a28a4f7a2 (patch) | |
tree | f56cdd49a447526cade110a468ea7e3d217a5559 /lang | |
parent | 00ad2a7ee76faab112cb30804572ae0d02d7f21a (diff) | |
download | pkgsrc-31fd195f29ba5458390a8450f4ba906a28a4f7a2.tar.gz |
Make wonka's os.version system property just return the release string,
not the complete version string out of struct utsname. This seems to
be more in line with what other Java implementations do.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/wonka/distinfo | 3 | ||||
-rw-r--r-- | lang/wonka/patches/patch-at | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/lang/wonka/distinfo b/lang/wonka/distinfo index 9f74f43a46b..405252b65f4 100644 --- a/lang/wonka/distinfo +++ b/lang/wonka/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2003/09/28 10:25:25 agc Exp $ +$NetBSD: distinfo,v 1.8 2004/05/21 12:42:23 he Exp $ SHA1 (wonka-src-0.9.6-release.tar.gz) = 2affc5b0387af97b8e6ea05168834736c3765cf4 Size (wonka-src-0.9.6-release.tar.gz) = 6315866 bytes @@ -16,3 +16,4 @@ SHA1 (patch-an) = 879dfcde48bd272dbb2968f85c6691237116d0c2 SHA1 (patch-ao) = b70f421279870f2895e75cd0cd4138057132ec50 SHA1 (patch-ar) = c36ea50a35b5af08e585826d7d6ead89de6b3330 SHA1 (patch-as) = 500808978e3c1e737776192ed849f238f011924d +SHA1 (patch-at) = d978f1f06e159ad426c512fd61c29e03cf0da70b diff --git a/lang/wonka/patches/patch-at b/lang/wonka/patches/patch-at new file mode 100644 index 00000000000..64981d574e8 --- /dev/null +++ b/lang/wonka/patches/patch-at @@ -0,0 +1,13 @@ +$NetBSD: patch-at,v 1.1 2004/05/21 12:42:23 he Exp $ + +--- wonka/hal/hostos/netbsd/src/Etc.c.orig Thu Mar 13 16:09:43 2003 ++++ wonka/hal/hostos/netbsd/src/Etc.c +@@ -65,7 +65,7 @@ Etc_getOSVersion (JNIEnv *env, w_instanc + if (!uname_called) { + uname(&uname_buffer); + } +- string = cstring2String(thread, uname_buffer.version, strlen(uname_buffer.version)); ++ string = cstring2String(thread, uname_buffer.release, strlen(uname_buffer.release)); + result = newStringInstance(string); + deregisterString(string); + |