From: Zefram Date: Sun, 11 Sep 2011 10:09:19 +0000 (+0100) Subject: depend on bugfixed B::Hooks::OP::Check 0.19 X-Git-Tag: 0.006007~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-Declare.git;a=commitdiff_plain;h=39801454866932ae878bc6fa193175275dcbf1cc depend on bugfixed B::Hooks::OP::Check 0.19 --- diff --git a/Changes b/Changes index f777e4a..1816d91 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Changes for Devel-Declare + - Depend on B::Hooks::OP::Check version 0.19, which fixes a serious bug in + how it interacts with other modules that hook ops. + 0.006006 - 23 Aug 2011 - Increase default linestr size to avoid reallocations (Zefram). diff --git a/Makefile.PL b/Makefile.PL index b698c36..8a51d81 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -8,17 +8,17 @@ name 'Devel-Declare'; all_from 'lib/Devel/Declare.pm'; requires 'Scalar::Util' => 1.11; # set_prototype appeared in this version -requires 'B::Hooks::OP::Check' => '0.18'; +requires 'B::Hooks::OP::Check' => '0.19'; requires 'B::Hooks::EndOfScope' => '0.05'; requires 'Sub::Name'; -build_requires 'B::Hooks::OP::Check' => '0.18'; +build_requires 'B::Hooks::OP::Check' => '0.19'; # minimum version that works on Win32+gcc configure_requires 'ExtUtils::Depends' => 0.302; # minimum version that depends on ExtUtils::Depends 0.302 -configure_requires 'B::Hooks::OP::Check' => '0.18'; +configure_requires 'B::Hooks::OP::Check' => '0.19'; test_requires 'Test::More' => '0.88'; test_requires 'Test::Warn'; diff --git a/lib/Devel/Declare.pm b/lib/Devel/Declare.pm index 256e0f9..553065c 100644 --- a/lib/Devel/Declare.pm +++ b/lib/Devel/Declare.pm @@ -14,7 +14,7 @@ use constant DECLARE_PACKAGE => 8+1; # name implicit use vars qw(%declarators %declarator_handlers @ISA); use base qw(DynaLoader); use Scalar::Util 'set_prototype'; -use B::Hooks::OP::Check; +use B::Hooks::OP::Check 0.19; bootstrap Devel::Declare;