pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/p5-Text-WrapI18N Update from version 0.06nb1 ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/97536eea197a
branches:  trunk
changeset: 552194:97536eea197a
user:      he <he%pkgsrc.org@localhost>
date:      Fri Jan 02 21:45:45 2009 +0000

description:
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:

 textproc/p5-Text-WrapI18N/Makefile         |   4 ++--
 textproc/p5-Text-WrapI18N/distinfo         |   3 ++-
 textproc/p5-Text-WrapI18N/patches/patch-aa |  13 +++++++++++++
 3 files changed, 17 insertions(+), 3 deletions(-)

diffs (42 lines):

diff -r 6f6de7c51a03 -r 97536eea197a textproc/p5-Text-WrapI18N/Makefile
--- a/textproc/p5-Text-WrapI18N/Makefile        Fri Jan 02 20:07:48 2009 +0000
+++ b/textproc/p5-Text-WrapI18N/Makefile        Fri Jan 02 21:45:45 2009 +0000
@@ -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 -r 6f6de7c51a03 -r 97536eea197a textproc/p5-Text-WrapI18N/distinfo
--- a/textproc/p5-Text-WrapI18N/distinfo        Fri Jan 02 20:07:48 2009 +0000
+++ b/textproc/p5-Text-WrapI18N/distinfo        Fri Jan 02 21:45:45 2009 +0000
@@ -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 -r 6f6de7c51a03 -r 97536eea197a textproc/p5-Text-WrapI18N/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-Text-WrapI18N/patches/patch-aa        Fri Jan 02 21:45:45 2009 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index