summaryrefslogtreecommitdiff
path: root/textproc/ruby-rdtool/patches
diff options
context:
space:
mode:
authortaca <taca>2002-01-03 14:11:25 +0000
committertaca <taca>2002-01-03 14:11:25 +0000
commite12c5b525505284979b4e1f4f838d6ac61d5f2dc (patch)
tree6df117c77bedc7832ee5036d86f82f10fc2d4ad9 /textproc/ruby-rdtool/patches
parent342f088e43c8e9e9c5fd024205d472431414fcc6 (diff)
downloadpkgsrc-e12c5b525505284979b4e1f4f838d6ac61d5f2dc.tar.gz
Apply footnote patch and bump PKGREVISION (ruby-rdtool-0.6.10nb1).
From [ruby-list:32471] on ruby-list@ruby-lang.org.
Diffstat (limited to 'textproc/ruby-rdtool/patches')
-rw-r--r--textproc/ruby-rdtool/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/ruby-rdtool/patches/patch-ab b/textproc/ruby-rdtool/patches/patch-ab
new file mode 100644
index 00000000000..41af164bace
--- /dev/null
+++ b/textproc/ruby-rdtool/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2002/01/03 14:11:26 taca Exp $
+
+--- rd/rd2html-lib.rb.orig Wed Jun 6 02:20:47 2001
++++ rd/rd2html-lib.rb
+@@ -347,7 +347,7 @@
+ def apply_to_Foottext(element, content)
+ num = get_footnote_num(element)
+ raise ArgumentError, "[BUG] #{element} isn't registered." unless num
+- %|<a name="foottext:#{num}" id="foottext:#{num}" href="footmark:#{num}">|+
++ %|<a name="foottext:#{num}" id="foottext:#{num}" href="#footmark:#{num}">|+
+ %|<sup><small>*#{num}</small></sup></a>| +
+ %|<small>#{content}</small><br />|
+ end