summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-08-12 20:35:31 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-08-12 20:35:31 +0000
commit967c0f88c47bc321a5ceedbe77b080e1ca0b3a6b (patch)
tree9d73efc51c24b245d2969dd921a0218539ae78cf
parentDo The Right Thing. (R) (diff)
Fix a critical bug which prevents irb from working.
I wonder how this could have been overlooked.. Found by: green Set DIST_SUBDIR=ruby.
Notes
Notes: svn path=/head/; revision=31585
-rw-r--r--lang/ruby14-irb/Makefile1
-rw-r--r--lang/ruby14-irb/distinfo2
-rw-r--r--lang/ruby14-irb/files/patch-aa11
3 files changed, 13 insertions, 1 deletions
diff --git a/lang/ruby14-irb/Makefile b/lang/ruby14-irb/Makefile
index 13514100a607..686097d6ee6c 100644
--- a/lang/ruby14-irb/Makefile
+++ b/lang/ruby14-irb/Makefile
@@ -15,6 +15,7 @@ MASTER_SITES= ftp://ftp.netlab.co.jp/pub/lang/ruby/contrib/ \
ftp://ftp.krnet.ne.jp/pub/ruby/contrib/ \
ftp://mirror.nucba.ac.jp/mirror/ruby/contrib/
EXTRACT_SUFX= .tgz
+DIST_SUBDIR= ruby
MAINTAINER= yasuf@big.or.jp
diff --git a/lang/ruby14-irb/distinfo b/lang/ruby14-irb/distinfo
index a1e5d751f513..90621bf00f97 100644
--- a/lang/ruby14-irb/distinfo
+++ b/lang/ruby14-irb/distinfo
@@ -1 +1 @@
-MD5 (irb-0.6.1.tgz) = dae176750a0ec6d8b636da103de2d222
+MD5 (ruby/irb-0.6.1.tgz) = dae176750a0ec6d8b636da103de2d222
diff --git a/lang/ruby14-irb/files/patch-aa b/lang/ruby14-irb/files/patch-aa
new file mode 100644
index 000000000000..df2c18505d77
--- /dev/null
+++ b/lang/ruby14-irb/files/patch-aa
@@ -0,0 +1,11 @@
+--- ruby-lex.rb.orig Wed Sep 15 13:52:06 1999
++++ ruby-lex.rb Sun Aug 13 05:16:46 2000
+@@ -660,7 +660,7 @@
+ @lex_state = EXPR_END
+
+ case ch = getc
+- when /[~_*$?!@/\\;,=:<>".]/ #"
++ when /[~_*$?!@\/\;,=:<>".]/ #"
+ Token(TkGVAR, "$" + ch)
+ when "-"
+ Token(TkGVAR, "$-" + getc)