mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
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.
This commit is contained in:
parent
e971e1684b
commit
27f96357e1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79304
13
lang/ruby-devel/files/patch-parse.c
Normal file
13
lang/ruby-devel/files/patch-parse.c
Normal file
@ -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;
|
13
lang/ruby/files/patch-parse.c
Normal file
13
lang/ruby/files/patch-parse.c
Normal file
@ -0,0 +1,13 @@
|
||||
--- parse.c.orig Sun Apr 20 04:20:19 2003
|
||||
+++ parse.c Sun Apr 20 04:21:02 2003
|
||||
@@ -8519,9 +8519,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;
|
13
lang/ruby16/files/patch-parse.c
Normal file
13
lang/ruby16/files/patch-parse.c
Normal file
@ -0,0 +1,13 @@
|
||||
--- parse.c.orig Sun Apr 20 04:20:19 2003
|
||||
+++ parse.c Sun Apr 20 04:21:02 2003
|
||||
@@ -8519,9 +8519,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;
|
13
lang/ruby18/files/patch-parse.c
Normal file
13
lang/ruby18/files/patch-parse.c
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user