pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/p5-Text-Typography Apply patch from RT to fix...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0ca7330a7186
branches: trunk
changeset: 621790:0ca7330a7186
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Wed Jul 17 21:18:23 2013 +0000
description:
Apply patch from RT to fix "uninitialized value" warnings. Bump
PKGREVISION.
diffstat:
textproc/p5-Text-Typography/Makefile | 7 ++-
textproc/p5-Text-Typography/distinfo | 3 +-
textproc/p5-Text-Typography/patches/patch-lib_Text_Typography.pm | 25 ++++++++++
3 files changed, 32 insertions(+), 3 deletions(-)
diffs (64 lines):
diff -r 5d42fa976dff -r 0ca7330a7186 textproc/p5-Text-Typography/Makefile
--- a/textproc/p5-Text-Typography/Makefile Wed Jul 17 20:08:26 2013 +0000
+++ b/textproc/p5-Text-Typography/Makefile Wed Jul 17 21:18:23 2013 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.4 2013/05/31 12:42:18 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2013/07/17 21:18:23 schmonz Exp $
#
DISTNAME= Text-Typography-0.01
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Text/}
@@ -14,5 +14,8 @@
PERL5_PACKLIST= auto/Text/Typography/.packlist
+pre-configure:
+ find ${WRKSRC} -type f -name '*.orig' -print | xargs rm -f
+
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 5d42fa976dff -r 0ca7330a7186 textproc/p5-Text-Typography/distinfo
--- a/textproc/p5-Text-Typography/distinfo Wed Jul 17 20:08:26 2013 +0000
+++ b/textproc/p5-Text-Typography/distinfo Wed Jul 17 21:18:23 2013 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2012/01/11 04:31:37 schmonz Exp $
+$NetBSD: distinfo,v 1.2 2013/07/17 21:18:23 schmonz Exp $
SHA1 (Text-Typography-0.01.tar.gz) = 8b2c146759276898b838066aae9a53341dd80e85
RMD160 (Text-Typography-0.01.tar.gz) = c9b9f3778e36c7edaa7363d81df22d20091cc7ac
Size (Text-Typography-0.01.tar.gz) = 7913 bytes
+SHA1 (patch-lib_Text_Typography.pm) = 83ff252473bd6fb66db299761eb5b51902079d15
diff -r 5d42fa976dff -r 0ca7330a7186 textproc/p5-Text-Typography/patches/patch-lib_Text_Typography.pm
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-Text-Typography/patches/patch-lib_Text_Typography.pm Wed Jul 17 21:18:23 2013 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-lib_Text_Typography.pm,v 1.1 2013/07/17 21:18:23 schmonz Exp $
+
+From <URL:https://rt.cpan.org/Public/Bug/Display.html?id=79229>:
+fix "uninitialized value" warnings.
+
+--- lib/Text/Typography.pm.orig 2006-01-10 04:31:02.000000000 +0000
++++ lib/Text/Typography.pm
+@@ -540,7 +540,7 @@ sub EducateQuotes {
+ } {$1‘}xg;
+ # Single closing quotes:
+ s {
+- ($close_class)?
++ ($close_class?)
+ '
+ (?(1)| # If $1 captured, then do nothing;
+ (?=\s | s\b) # otherwise, positive lookahead for a whitespace
+@@ -569,7 +569,7 @@ sub EducateQuotes {
+
+ # Double closing quotes:
+ s {
+- ($close_class)?
++ ($close_class?)
+ "
+ (?(1)|(?=\s)) # If $1 captured, then do nothing;
+ # if not, then make sure the next char is whitespace.
Home |
Main Index |
Thread Index |
Old Index