diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2003-04-19 19:36:28 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2003-04-19 19:36:28 +0000 |
commit | 27f96357e1168e2be9bea3cd24f193d74d1dc432 (patch) | |
tree | d612ba12650a2359296a5d1269fe4297c82d689f /lang/ruby18 | |
parent | Create a pseudo component for the GNOME CONFIGURE_TARGET, and make glib20 (diff) |
Add a patch to fix coredump that occurs when you run ruby with the
verbose flag on. (ruby -v -e 'begin;end')
PORTREVISION is not bumped since this is not a significant problem for
most people.
Diffstat (limited to 'lang/ruby18')
-rw-r--r-- | lang/ruby18/files/patch-parse.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/ruby18/files/patch-parse.c b/lang/ruby18/files/patch-parse.c new file mode 100644 index 000000000000..8ce14c1a174a --- /dev/null +++ b/lang/ruby18/files/patch-parse.c @@ -0,0 +1,13 @@ +--- parse.c.orig Sun Apr 20 04:22:00 2003 ++++ parse.c Sun Apr 20 04:23:40 2003 +@@ -9514,9 +9514,9 @@ + char *useless = 0; + + if (!RTEST(ruby_verbose)) return; +- if (!node) return; + + again: ++ if (!node) return; + switch (nd_type(node)) { + case NODE_NEWLINE: + node = node->nd_next; |