summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-08-12 20:35:31 +0000
committerknu <knu@FreeBSD.org>2000-08-12 20:35:31 +0000
commite3e82c0ac53661ddd4a03ba09e1ff1dbda3578f6 (patch)
treec252380b00b0b750ada0798360ca1abfe0f765d4
parente932a87c5235b90fa671f5b453afd18c94f3b2f3 (diff)
downloadFreeBSD-ports-e3e82c0ac53661ddd4a03ba09e1ff1dbda3578f6.zip
FreeBSD-ports-e3e82c0ac53661ddd4a03ba09e1ff1dbda3578f6.tar.gz
Fix a critical bug which prevents irb from working.
I wonder how this could have been overlooked.. Found by: green Set DIST_SUBDIR=ruby.
-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 1351410..686097d 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 a1e5d75..90621bf 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 0000000..df2c185
--- /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)
OpenPOWER on IntegriCloud