From 22f9ca4817f8186a26a8f28232352815202c5dc5 Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Wed, 18 Apr 2007 13:50:13 +0000 Subject: [PATCH] changed t82inline.t to always rebuild the Inline::C generated module to avoid test failures caused by old builds being left. include the Imager version number in the AUTO_INCLUDE code so that bugs fixed in a new release will convince Inline to rebuild generated modules. http://rt.cpan.org/Ticket/Display.html?id=26278 --- Changes | 4 ++++ lib/Imager/ExtUtils.pm | 5 +++-- t/t82inline.t | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index eaf0388c..3d9cf5b0 100644 --- a/Changes +++ b/Changes @@ -15,6 +15,10 @@ Bug fixes: - document the difference() method's mindist parameter, and debug it. + - put the Imager releaser number in the Inline::C generated code to + regenerate Inline code when a new release of Imager is installed. + http://rt.cpan.org/Ticket/Display.html?id=26278 + Imager 0.56 - 1 Apr 2007 =========== diff --git a/lib/Imager/ExtUtils.pm b/lib/Imager/ExtUtils.pm index b6cbc381..93a63f51 100644 --- a/lib/Imager/ExtUtils.pm +++ b/lib/Imager/ExtUtils.pm @@ -3,7 +3,7 @@ use strict; use vars qw($VERSION); -$VERSION = "1.000"; +$VERSION = "1.001"; =head1 NAME @@ -50,7 +50,8 @@ sub inline_config { { INC => $class->includes, TYPEMAPS => $class->typemap, - AUTO_INCLUDE => <<'CODE', + AUTO_INCLUDE => < "Inline won't work in directories with spaces" plan tests => 9; require Inline; Inline->import(with => 'Imager'); +Inline->import("FORCE"); # force rebuild Inline->bind(C => <<'EOS'); #include -- 2.39.5