summaryrefslogtreecommitdiff
path: root/java/jbootstrap
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2005-08-19 17:34:05 +0000
committerGreg Lewis <glewis@FreeBSD.org>2005-08-19 17:34:05 +0000
commitc8adfc87dbf37ec4b430fbd74910f1126323f9f4 (patch)
tree5b12d0bd7372e4a8e4d12c6145ff98504889d4ff /java/jbootstrap
parent- cleanup old Makefile location (diff)
. NUL terminate a string. Fixes a segmentation fault that shows up
in the jdk13 port build. Brought to you by MALLOC_OPTIONS "A" and "J". . Bump PORTREVISION. Approved by: portmgr (kris)
Notes
Notes: svn path=/head/; revision=140935
Diffstat (limited to 'java/jbootstrap')
-rw-r--r--java/jbootstrap/Makefile1
-rw-r--r--java/jbootstrap/files/patch-scsl-InvokerGen.c13
2 files changed, 14 insertions, 0 deletions
diff --git a/java/jbootstrap/Makefile b/java/jbootstrap/Makefile
index cdb84bc0dd05..2894f8243e73 100644
--- a/java/jbootstrap/Makefile
+++ b/java/jbootstrap/Makefile
@@ -7,6 +7,7 @@
PORTNAME= jbootstrap
PORTVERSION= 1.2
+PORTREVISION= 1
CATEGORIES= java
MASTER_SITES= # http://www.eyesbeyond.com/freebsddom/java/jbootstrap.html
diff --git a/java/jbootstrap/files/patch-scsl-InvokerGen.c b/java/jbootstrap/files/patch-scsl-InvokerGen.c
new file mode 100644
index 000000000000..6e56b9570644
--- /dev/null
+++ b/java/jbootstrap/files/patch-scsl-InvokerGen.c
@@ -0,0 +1,13 @@
+$FreeBSD$
+
+--- scsl/InvokerGen.c.orig Fri Aug 19 11:04:45 2005
++++ scsl/InvokerGen.c Fri Aug 19 11:04:03 2005
+@@ -475,7 +475,8 @@
+ ", of sig='", si->sig, "'");
+ }
+ }
+ t[j] = 0;
++ sb[pos] = NUL;
+ si->returnType = t[--j];
+ si->binTerse = t;
+ si->terse = sb;