r20381 - in /trunk/libclass-methodmaker-perl/debian: changelog patches/no-warnings-once.patch patches/series
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sat May 24 22:17:38 UTC 2008
Author: gregoa
Date: Sat May 24 22:17:38 2008
New Revision: 20381
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=20381
Log:
Add patch no-warnings-once.patch to turn off warnings about
'Name " Foo::Bar" used only once" (closes: #481227).
Added:
trunk/libclass-methodmaker-perl/debian/patches/no-warnings-once.patch
Modified:
trunk/libclass-methodmaker-perl/debian/changelog
trunk/libclass-methodmaker-perl/debian/patches/series
Modified: trunk/libclass-methodmaker-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-methodmaker-perl/debian/changelog?rev=20381&op=diff
==============================================================================
--- trunk/libclass-methodmaker-perl/debian/changelog (original)
+++ trunk/libclass-methodmaker-perl/debian/changelog Sat May 24 22:17:38 2008
@@ -1,3 +1,10 @@
+libclass-methodmaker-perl (2.11-2) UNRELEASED; urgency=low
+
+ * Add patch no-warnings-once.patch to turn off warnings about
+ 'Name " Foo::Bar" used only once" (closes: #481227).
+
+ -- gregor herrmann <gregoa at debian.org> Sun, 25 May 2008 00:06:28 +0200
+
libclass-methodmaker-perl (2.11-1) unstable; urgency=low
* New upstream release.
Added: trunk/libclass-methodmaker-perl/debian/patches/no-warnings-once.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-methodmaker-perl/debian/patches/no-warnings-once.patch?rev=20381&op=file
==============================================================================
--- trunk/libclass-methodmaker-perl/debian/patches/no-warnings-once.patch (added)
+++ trunk/libclass-methodmaker-perl/debian/patches/no-warnings-once.patch Sat May 24 22:17:38 2008
@@ -1,0 +1,15 @@
+Author: gregor herrmann <gregoa at debian.org>
+Bugs: #481227, CPAN#35840
+Description: locally turn off warning 'Name " Foo::Bar" used only once'
+
+--- libclass-methodmaker-perl.orig/lib/Class/MethodMaker/Engine.pm
++++ libclass-methodmaker-perl/lib/Class/MethodMaker/Engine.pm
+@@ -778,6 +778,8 @@
+ *{$methname} = $code;
+ # Generate a unique stash name for the sub. Use a preceding space
+ # to avoid collisions with anything in the Perl space.
++ # Turn off warnings about 'Name " Foo::Bar" used only once'.
++ no warnings "once";
+ Class::MethodMaker::set_sub_name($code, $target, $name, " ${target}::${name}");
+ }
+ } else {
Modified: trunk/libclass-methodmaker-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-methodmaker-perl/debian/patches/series?rev=20381&op=diff
==============================================================================
--- trunk/libclass-methodmaker-perl/debian/patches/series (original)
+++ trunk/libclass-methodmaker-perl/debian/patches/series Sat May 24 22:17:38 2008
@@ -1,1 +1,2 @@
class_methodmaker_constants_whatis.patch
+no-warnings-once.patch
More information about the Pkg-perl-cvs-commits
mailing list