summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2009-01-02 21:45:45 +0000
committerhe <he@pkgsrc.org>2009-01-02 21:45:45 +0000
commit022965e1fefcab9fa05ed62a7fdabf9fb9dae7cb (patch)
tree5c57e9a5bfc7d06f3cffccd1d6edf680d2601c8e /textproc
parent3b977a753a4e844d53ba5055d299dda7885f09ca (diff)
downloadpkgsrc-022965e1fefcab9fa05ed62a7fdabf9fb9dae7cb.tar.gz
Update from version 0.06nb1 to 0.06nb2.
Pkgsrc changes: o Apply fix from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=470250 to prevent this module from looping on input "words" longer than the current wrap coloumn. Problem also reported upstream via CPAN's RT system.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-Text-WrapI18N/Makefile4
-rw-r--r--textproc/p5-Text-WrapI18N/distinfo3
-rw-r--r--textproc/p5-Text-WrapI18N/patches/patch-aa13
3 files changed, 17 insertions, 3 deletions
diff --git a/textproc/p5-Text-WrapI18N/Makefile b/textproc/p5-Text-WrapI18N/Makefile
index 77978e4d728..1b20c84e4a4 100644
--- a/textproc/p5-Text-WrapI18N/Makefile
+++ b/textproc/p5-Text-WrapI18N/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2008/10/19 19:18:57 he Exp $
+# $NetBSD: Makefile,v 1.6 2009/01/02 21:45:45 he Exp $
DISTNAME= Text-WrapI18N-0.06
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Text/}
diff --git a/textproc/p5-Text-WrapI18N/distinfo b/textproc/p5-Text-WrapI18N/distinfo
index d8e29d8dc8e..7e5422ad7d2 100644
--- a/textproc/p5-Text-WrapI18N/distinfo
+++ b/textproc/p5-Text-WrapI18N/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/01/13 18:20:12 wiz Exp $
+$NetBSD: distinfo,v 1.2 2009/01/02 21:45:45 he Exp $
SHA1 (Text-WrapI18N-0.06.tar.gz) = f397756b8d0a090fdecbf9c854922c0d9825f284
RMD160 (Text-WrapI18N-0.06.tar.gz) = ec9d23dd6c90ef21a4cd032b51cfa5b3a79b0e25
Size (Text-WrapI18N-0.06.tar.gz) = 3812 bytes
+SHA1 (patch-aa) = aa94d5721002bd493cba10435f8d7e9a22b628ed
diff --git a/textproc/p5-Text-WrapI18N/patches/patch-aa b/textproc/p5-Text-WrapI18N/patches/patch-aa
new file mode 100644
index 00000000000..c25619f9c62
--- /dev/null
+++ b/textproc/p5-Text-WrapI18N/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2009/01/02 21:45:45 he Exp $
+
+--- WrapI18N.pm.orig 2003-06-25 11:14:25.000000000 +0200
++++ WrapI18N.pm
+@@ -88,7 +88,7 @@ sub wrap {
+ $len = 0;
+ $text = $top2 . $text;
+ $word = ''; $wlen = 0;
+- } elsif ($wlen + $w <= $columns) {
++ } elsif ($wlen + $w <= $columns - length($top2)) {
+ # the current word is sent to next line
+ $out .= $separator;
+ $len = 0;