summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2013-03-07 16:50:51 +0000
committertaca <taca@pkgsrc.org>2013-03-07 16:50:51 +0000
commitb74d011758478e7709ad9c7f65b09c08ab485286 (patch)
tree9b74f1653d60ecc683ab243b258944ddbb4c7383 /devel
parent8919586f889617e2b6e30ecead1246257f2c2f01 (diff)
downloadpkgsrc-b74d011758478e7709ad9c7f65b09c08ab485286.tar.gz
Update ruby-rdoc to 3.12.2.
=== 3.12.2 / 2013-02-24 * Bug fixes * Fixed bug in syntax-highlighting that would corrupt regular expressions. Ruby Bug #6488 by Benny Lyne Amorsen. * Fixed lexing of character syntax (<code>?x</code>). Reported by Xavier Noria. * Fixed tokenization of % when it is not followed by a $-string type * Fixed display of __END__ in documentation examples in HTML output * Fixed tokenization of reserved words used as new-style hash keys * Fixed HEREDOC output for the limited case of a heredoc followed by a line end. When a HEREDOC is not followed by a line end RDoc is not currently smart enough to restore the source correctly. Bug #162 by Zachary Scott.
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-rdoc/distinfo9
-rw-r--r--devel/ruby-rdoc/patches/patch-lib_rdoc_ruby__lex.rb15
2 files changed, 20 insertions, 4 deletions
diff --git a/devel/ruby-rdoc/distinfo b/devel/ruby-rdoc/distinfo
index 4db63e13d8d..7c0a55bb5ec 100644
--- a/devel/ruby-rdoc/distinfo
+++ b/devel/ruby-rdoc/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.9 2013/02/06 15:53:14 taca Exp $
+$NetBSD: distinfo,v 1.10 2013/03/07 16:50:51 taca Exp $
-SHA1 (rdoc-3.12.1.gem) = ce2d2346244479b56f76566a4f4336cc53bbd690
-RMD160 (rdoc-3.12.1.gem) = aca3f01ab4e1bb415f952cdc7870d6066f0eb5b1
-Size (rdoc-3.12.1.gem) = 325120 bytes
+SHA1 (rdoc-3.12.2.gem) = 687cd1bc56c2ad79fd9e2e3854d0a6db575e2aa2
+RMD160 (rdoc-3.12.2.gem) = 1450eee8c8f9490cc3620153bbcc33e839289337
+Size (rdoc-3.12.2.gem) = 326144 bytes
+SHA1 (patch-lib_rdoc_ruby__lex.rb) = 08d9bfdf7eba90f64723608ea42db5bc01c56ebf
diff --git a/devel/ruby-rdoc/patches/patch-lib_rdoc_ruby__lex.rb b/devel/ruby-rdoc/patches/patch-lib_rdoc_ruby__lex.rb
new file mode 100644
index 00000000000..c63aed24b26
--- /dev/null
+++ b/devel/ruby-rdoc/patches/patch-lib_rdoc_ruby__lex.rb
@@ -0,0 +1,15 @@
+$NetBSD: patch-lib_rdoc_ruby__lex.rb,v 1.1 2013/03/07 16:50:51 taca Exp $
+
+Take care for EOF.
+
+--- lib/rdoc/ruby_lex.rb.orig 2013-03-07 14:10:23.000000000 +0000
++++ lib/rdoc/ruby_lex.rb
+@@ -1027,7 +1027,7 @@ class RDoc::RubyLex
+ doc << l
+ end
+
+- if output_heredoc then
++ if output_heredoc and l then
+ doc << l.chomp
+ else
+ doc << '"'