summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2011-03-27 13:08:20 +0000
committertaca <taca@pkgsrc.org>2011-03-27 13:08:20 +0000
commitf525e42a9c5e24e92b12d48c9daf421e407abf2a (patch)
tree78bd94705f65ad4f3bcab94a888a9a3a73a34e57 /textproc
parentea5c76c38a5e9ea2d9e03f0b6ada67645e23faae (diff)
downloadpkgsrc-f525e42a9c5e24e92b12d48c9daf421e407abf2a.tar.gz
Fix build problem with ruby18's rdoc.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ruby-builder/distinfo3
-rw-r--r--textproc/ruby-builder/patches/patch-lib_builder_xmlmarkup.rb14
2 files changed, 16 insertions, 1 deletions
diff --git a/textproc/ruby-builder/distinfo b/textproc/ruby-builder/distinfo
index 18dec13ba0b..aaa003e75b9 100644
--- a/textproc/ruby-builder/distinfo
+++ b/textproc/ruby-builder/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2010/12/04 04:25:37 taca Exp $
+$NetBSD: distinfo,v 1.3 2011/03/27 13:08:20 taca Exp $
SHA1 (builder-3.0.0.gem) = 911d35bf53a8678d35aea8e17e4c439eb62fffff
RMD160 (builder-3.0.0.gem) = f17b12344de661c8baa85a726b52954907ff38e0
Size (builder-3.0.0.gem) = 609280 bytes
+SHA1 (patch-lib_builder_xmlmarkup.rb) = 5d4c101b3263d84b513e254ad6b62e96840fa255
diff --git a/textproc/ruby-builder/patches/patch-lib_builder_xmlmarkup.rb b/textproc/ruby-builder/patches/patch-lib_builder_xmlmarkup.rb
new file mode 100644
index 00000000000..db71d415a88
--- /dev/null
+++ b/textproc/ruby-builder/patches/patch-lib_builder_xmlmarkup.rb
@@ -0,0 +1,14 @@
+$NetBSD: patch-lib_builder_xmlmarkup.rb,v 1.1 2011/03/27 13:08:20 taca Exp $
+
+* Aboid crash with Ruby 1.8.7's rdoc.
+
+--- lib/builder/xmlmarkup.rb.orig 2011-03-26 16:32:42.000000000 +0000
++++ lib/builder/xmlmarkup.rb
+@@ -38,7 +38,6 @@ module Builder
+ # xm.title("History") # <title>History</title>
+ # } # </head>
+ # xm.body { # <body>
+- # xm.comment! "HI" # <!-- HI -->
+ # xm.h1("Header") # <h1>Header</h1>
+ # xm.p("paragraph") # <p>paragraph</p>
+ # } # </body>