r70591 - in /trunk/libclass-methodmaker-perl: Changes MANIFEST META.yml Makefile.PL MethodMaker.xs debian/changelog lib/Class/MethodMaker.pm lib/Class/MethodMaker/Engine.pm t/warnings.t

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Sun Mar 6 01:46:13 UTC 2011


Author: jawnsy-guest
Date: Sun Mar  6 01:46:06 2011
New Revision: 70591

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=70591
Log:
Changes only affect Perl 5.13+, not in Debian
* New upstream release

Added:
    trunk/libclass-methodmaker-perl/t/warnings.t
      - copied unchanged from r70582, branches/upstream/libclass-methodmaker-perl/current/t/warnings.t
Modified:
    trunk/libclass-methodmaker-perl/Changes
    trunk/libclass-methodmaker-perl/MANIFEST
    trunk/libclass-methodmaker-perl/META.yml
    trunk/libclass-methodmaker-perl/Makefile.PL
    trunk/libclass-methodmaker-perl/MethodMaker.xs
    trunk/libclass-methodmaker-perl/debian/changelog
    trunk/libclass-methodmaker-perl/lib/Class/MethodMaker.pm
    trunk/libclass-methodmaker-perl/lib/Class/MethodMaker/Engine.pm

Modified: trunk/libclass-methodmaker-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-methodmaker-perl/Changes?rev=70591&op=diff
==============================================================================
--- trunk/libclass-methodmaker-perl/Changes (original)
+++ trunk/libclass-methodmaker-perl/Changes Sun Mar  6 01:46:06 2011
@@ -1,4 +1,15 @@
 Revision History for Class::MethodMaker (versions 2)
+
+2.17	Mar 02 2011
+        - Just an intermediate release!
+          (in order to get help on fixing Class::MethodMaker for 5.14)
+        - already fixed breakage with 5.13.3
+          (CvGV is now an rvalue, so use CvGV_set instead of assigning
+          directly -- credits to ANDK, rafl and Zefram)
+        - added test for no warnings to additionally be able to bisect
+          annoying warnings since 5.13.2
+        - Stay tuned -- 2.18 will hopefully completely revitalize C:MM
+          for Perl 5.13+.
 
 2.16	May 11 2010
 	- Drop signature self test in order to fix rt#57359

Modified: trunk/libclass-methodmaker-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-methodmaker-perl/MANIFEST?rev=70591&op=diff
==============================================================================
--- trunk/libclass-methodmaker-perl/MANIFEST (original)
+++ trunk/libclass-methodmaker-perl/MANIFEST Sun Mar  6 01:46:06 2011
@@ -61,4 +61,5 @@
 t/v1_tie_hash.t
 t/v1_tie_list.t
 t/v1_tie_scalar.t
+t/warnings.t
 TODO

Modified: trunk/libclass-methodmaker-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-methodmaker-perl/META.yml?rev=70591&op=diff
==============================================================================
--- trunk/libclass-methodmaker-perl/META.yml (original)
+++ trunk/libclass-methodmaker-perl/META.yml Sun Mar  6 01:46:06 2011
@@ -1,12 +1,14 @@
 --- #YAML:1.0
 name:               Class-MethodMaker
-version:            2.16
+version:            2.17
 abstract:           a module for creating generic methods
 author:
     - Martyn J. Pearce
 license:            perl
 distribution_type:  module
 configure_requires:
+    ExtUtils::MakeMaker:  0
+build_requires:
     ExtUtils::MakeMaker:  0
 requires:
     perl:  5.006
@@ -16,7 +18,7 @@
     directory:
         - t
         - inc
-generated_by:       ExtUtils::MakeMaker version 6.48
+generated_by:       ExtUtils::MakeMaker version 6.56
 meta-spec:
     url:      http://module-build.sourceforge.net/META-spec-v1.4.html
     version:  1.4

Modified: trunk/libclass-methodmaker-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-methodmaker-perl/Makefile.PL?rev=70591&op=diff
==============================================================================
--- trunk/libclass-methodmaker-perl/Makefile.PL (original)
+++ trunk/libclass-methodmaker-perl/Makefile.PL Sun Mar  6 01:46:06 2011
@@ -47,7 +47,7 @@
 my %MakefileArgs = (
   NAME         => 'Class::MethodMaker',
   DISTNAME     => 'Class-MethodMaker',
-  VERSION      => '2.16',
+  VERSION      => '2.17',
   AUTHOR       => 'Martyn J. Pearce',
   LICENSE      => 'perl',
   ABSTRACT     => 'a module for creating generic methods',

Modified: trunk/libclass-methodmaker-perl/MethodMaker.xs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-methodmaker-perl/MethodMaker.xs?rev=70591&op=diff
==============================================================================
--- trunk/libclass-methodmaker-perl/MethodMaker.xs (original)
+++ trunk/libclass-methodmaker-perl/MethodMaker.xs Sun Mar  6 01:46:06 2011
@@ -2,7 +2,14 @@
 #include "perl.h"
 #include "XSUB.h"
 
+/* inspired/stolen from Clone::Closure, to keep in sync with 5.13.3+ */
+#ifndef CvGV_set
+#define CvGV_set(cv,gv) CvGV(cv) = (gv)
+#endif
+
 MODULE = Class::MethodMaker PACKAGE = Class::MethodMaker
+
+PROTOTYPES: ENABLE
 
 int
 set_sub_name(SV *sub, char *pname, char *subname, char *stashname)
@@ -10,7 +17,7 @@
     if (!SvTRUE(ST(0)) || !SvTRUE(ST(1)) || !SvTRUE(ST(2)) || !SvTRUE(ST(3)))
       XSRETURN_UNDEF;
   CODE:
-    CvGV((GV*)SvRV(sub)) = gv_fetchpv(stashname, TRUE, SVt_PV);
+    CvGV_set((CV*)SvRV(sub), gv_fetchpv(stashname, TRUE, SVt_PV));
     GvSTASH(CvGV((GV*)SvRV(sub))) = gv_stashpv(pname, 1);
 #ifdef gv_name_set
     gv_name_set(CvGV((GV*)SvRV(sub)), subname, strlen(subname), GV_NOTQUAL);

Modified: trunk/libclass-methodmaker-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-methodmaker-perl/debian/changelog?rev=70591&op=diff
==============================================================================
--- trunk/libclass-methodmaker-perl/debian/changelog (original)
+++ trunk/libclass-methodmaker-perl/debian/changelog Sun Mar  6 01:46:06 2011
@@ -1,18 +1,18 @@
-libclass-methodmaker-perl (2.16-1) UNRELEASED; urgency=low
-
-  Only removes signature test
-  IGNORE-VERSION: 2.16-1
+libclass-methodmaker-perl (2.17-1) UNRELEASED; urgency=low
+
+  Changes only affect Perl 5.13+, not in Debian
 
   [ Jonathan Yu ]
   * New upstream release
   * Standards-Version 3.8.4 (no changes)
   * Use new 3.0 (quilt) source format
   * Remove patch to disable signature test (removed upstream)
+  * New upstream release
 
   [ Ryan Niebur ]
   * Update jawnsy's email address
 
- -- Jonathan Yu <jawnsy at cpan.org>  Thu, 13 May 2010 22:30:41 -0400
+ -- Jonathan Yu <jawnsy at cpan.org>  Sat, 05 Mar 2011 20:17:22 -0500
 
 libclass-methodmaker-perl (2.15-2) unstable; urgency=low
 

Modified: trunk/libclass-methodmaker-perl/lib/Class/MethodMaker.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-methodmaker-perl/lib/Class/MethodMaker.pm?rev=70591&op=diff
==============================================================================
--- trunk/libclass-methodmaker-perl/lib/Class/MethodMaker.pm (original)
+++ trunk/libclass-methodmaker-perl/lib/Class/MethodMaker.pm Sun Mar  6 01:46:06 2011
@@ -6,7 +6,7 @@
 use Class::MethodMaker::Engine    qw();
 
 # Make this line self-contained so MakeMaker can eval() it.
-our $VERSION = '2.16';
+our $VERSION = '2.17';
 our $PACKAGE = 'Class-MethodMaker';
 
 use XSLoader qw();

Modified: trunk/libclass-methodmaker-perl/lib/Class/MethodMaker/Engine.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-methodmaker-perl/lib/Class/MethodMaker/Engine.pm?rev=70591&op=diff
==============================================================================
--- trunk/libclass-methodmaker-perl/lib/Class/MethodMaker/Engine.pm (original)
+++ trunk/libclass-methodmaker-perl/lib/Class/MethodMaker/Engine.pm Sun Mar  6 01:46:06 2011
@@ -57,7 +57,7 @@
 # -------------------------------------
 
 our $PACKAGE = 'Class-MethodMaker';
-our $VERSION = '2.16';
+our $VERSION = '2.17';
 
 # -------------------------------------
 # CLASS CONSTRUCTION




More information about the Pkg-perl-cvs-commits mailing list