On Sun, May 01, 2011 at 02:02:42PM +0100, Dominic Hargreaves wrote:
> Hi,
> 
> Just to let you know that perl 5.12 is likely to hit unstable in the
> next 24 hours, at which point this bug will become severity: serious.

I plan to NMU this package to fix this bug, either before or shortly
after perl 5.12 hits unstable. Patch attached.

Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
diff -u pperl-0.25/pperl.h.header pperl-0.25/pperl.h.header
--- pperl-0.25/pperl.h.header
+++ pperl-0.25/pperl.h.header
@@ -49,7 +49,9 @@
             exit($retval);
         }
         $exit_code = $retval;
+{ no warnings 'deprecated';
         goto __PPerl_exit;
+}
     };
 
     *CORE::GLOBAL::fork = sub {
@@ -74,7 +76,9 @@
         }
         my $code = system(@_);
         $exit_code = $code >> 8;
+{ no warnings 'deprecated';
         goto __PPerl_exit;
+}
     };
 }
 
@@ -506,7 +510,9 @@
     #### Your Code Here ####
 };
 
+{ no warnings 'deprecated';
 goto ____PPerlBackAgain;
+}
 
 BEGIN {
     log_error("finding open filehandles ($PPERL::NO_CLEANUP)\n");
diff -u pperl-0.25/debian/changelog pperl-0.25/debian/changelog
--- pperl-0.25/debian/changelog
+++ pperl-0.25/debian/changelog
@@ -1,3 +1,11 @@
+pperl (0.25-5.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Apply patch from Niko Tyni to fix FTBFS on perl 5.12 (disables
+    deprecation warnings). Closes: #581411
+
+ -- Dominic Hargreaves <d...@earth.li>  Sun, 01 May 2011 15:02:30 +0100
+
 pperl (0.25-5) unstable; urgency=medium
 
   * Pass PPERL_TMP_PATH through the environment test, fixing build

Reply via email to