diff options
author | he <he@pkgsrc.org> | 2008-12-28 21:14:13 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2008-12-28 21:14:13 +0000 |
commit | ec19dd7717f0de5d07baeddafafd6dd0e7820382 (patch) | |
tree | 27eb985e3185f91090685a04df386a97f8d8e415 /devel/p5-Class-MethodMaker | |
parent | e1c7784ba8f649e1f9da21956f018ff724130996 (diff) | |
download | pkgsrc-ec19dd7717f0de5d07baeddafafd6dd0e7820382.tar.gz |
Add a patch from PR#40282, also reported at
http://rt.cpan.org/Public/Bug/Display.html?id=41994
OK'ed by wiz@.
Diffstat (limited to 'devel/p5-Class-MethodMaker')
-rw-r--r-- | devel/p5-Class-MethodMaker/Makefile | 3 | ||||
-rw-r--r-- | devel/p5-Class-MethodMaker/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-Class-MethodMaker/patches/patch-aa | 13 |
3 files changed, 17 insertions, 2 deletions
diff --git a/devel/p5-Class-MethodMaker/Makefile b/devel/p5-Class-MethodMaker/Makefile index ed2e9bf276c..7f00b90d5f4 100644 --- a/devel/p5-Class-MethodMaker/Makefile +++ b/devel/p5-Class-MethodMaker/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.17 2008/12/19 17:45:36 he Exp $ +# $NetBSD: Makefile,v 1.18 2008/12/28 21:14:13 he Exp $ # DISTNAME= Class-MethodMaker-2.13 PKGNAME= p5-${DISTNAME} +PKGREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Class/} diff --git a/devel/p5-Class-MethodMaker/distinfo b/devel/p5-Class-MethodMaker/distinfo index f066e26e939..b09c9a148ac 100644 --- a/devel/p5-Class-MethodMaker/distinfo +++ b/devel/p5-Class-MethodMaker/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.9 2008/12/19 17:45:36 he Exp $ +$NetBSD: distinfo,v 1.10 2008/12/28 21:14:13 he Exp $ SHA1 (Class-MethodMaker-2.13.tar.gz) = 229765c45e2668ae56fa932bf128969a79d18cfe RMD160 (Class-MethodMaker-2.13.tar.gz) = 65ed468e44adbe7aee21f8a8217f31b187cd4746 Size (Class-MethodMaker-2.13.tar.gz) = 89006 bytes +SHA1 (patch-aa) = 54a3a7ee5ef8fad9044066752e3dad81dc07129a diff --git a/devel/p5-Class-MethodMaker/patches/patch-aa b/devel/p5-Class-MethodMaker/patches/patch-aa new file mode 100644 index 00000000000..70d9734af62 --- /dev/null +++ b/devel/p5-Class-MethodMaker/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2008/12/28 21:14:14 he Exp $ + +--- MethodMaker.xs.orig 2008-12-28 22:06:57.000000000 +0100 ++++ MethodMaker.xs +@@ -7,7 +7,7 @@ MODULE = Class::MethodMaker PACKAGE = Cl + int + set_sub_name(SV *sub, char *pname, char *subname, char *stashname) + INIT: +- if (!SvTRUE(ST(1)) || !SvTRUE(ST(2)) || !SvTRUE(ST(3)) || !SvTRUE(ST(4))) ++ 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); |