r74072 - in /trunk/pperl/debian: changelog patches/disable_deprecation_warnings.path patches/series

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Fri May 6 21:24:07 UTC 2011


Author: gregoa
Date: Fri May  6 21:23:58 2011
New Revision: 74072

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=74072
Log:
* Integrate patch from Niko Tyni, that was applied in the -5.1 NMU, as a
  separate patch.
* Include NMU changelog entry.

Added:
    trunk/pperl/debian/patches/disable_deprecation_warnings.path
Modified:
    trunk/pperl/debian/changelog
    trunk/pperl/debian/patches/series

Modified: trunk/pperl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/pperl/debian/changelog?rev=74072&op=diff
==============================================================================
--- trunk/pperl/debian/changelog (original)
+++ trunk/pperl/debian/changelog Fri May  6 21:23:58 2011
@@ -3,8 +3,6 @@
    FIXME: tests fail leaving background processes when built outside of
    chroot (dam)
    
-   TODO: integrate -5.1 NMU changes (gregoa)
-
   [ Damyan Ivanov ]
   * Take over for the Debian Perl Group on maintainer's request
     (http://lists.debian.org/debian-perl/2008/04/msg00070.html)
@@ -26,11 +24,22 @@
   * debian/control: Changed: Switched Vcs-Browser field to ViewSVN
     (source stanza).
   * debian/control: Added: ${misc:Depends} to Depends: field.
+  * Integrate patch from Niko Tyni, that was applied in the -5.1 NMU, as a
+    separate patch.
+  * Include NMU changelog entry.
 
   [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
 
  -- gregor herrmann <gregoa at debian.org>  Fri, 09 May 2008 16:23:24 +0200
+
+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 <dom at earth.li>  Sun, 01 May 2011 15:02:30 +0100
 
 pperl (0.25-5) unstable; urgency=medium
 

Added: trunk/pperl/debian/patches/disable_deprecation_warnings.path
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/pperl/debian/patches/disable_deprecation_warnings.path?rev=74072&op=file
==============================================================================
--- trunk/pperl/debian/patches/disable_deprecation_warnings.path (added)
+++ trunk/pperl/debian/patches/disable_deprecation_warnings.path Fri May  6 21:23:58 2011
@@ -1,0 +1,47 @@
+Description: Disable deprecation warnings as a workaround for test failures on Perl 5.12.0
+ The test suite fails with Perl 5.12.0 due to new deprecation messages:
+
+  # Test 6 got: "Use of \"goto\" to jump into a construct is deprecated at /home/niko/tmp/tt/pperl-0.25/sockets/pperlNrZKqj line 53.\n" (t/06exit_die.t at line 18)
+
+ Fixing these requires code restructuring, but a temporary workaround
+ is to disable the messages for now.
+Origin: vendor
+Bug: https://rt.cpan.org/Ticket/Display.html?id=56122
+Bug-Debian: http://bugs.debian.org/581411
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=56122
+Author: Niko Tyni <ntyni at debian.org>
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2011-05-06
+
+--- a/pperl.h.header
++++ b/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");

Modified: trunk/pperl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/pperl/debian/patches/series?rev=74072&op=diff
==============================================================================
--- trunk/pperl/debian/patches/series (original)
+++ trunk/pperl/debian/patches/series Fri May  6 21:23:58 2011
@@ -5,3 +5,4 @@
 pperl-man.patch
 safe-socket-path.patch
 unclean-name-checks.patch
+disable_deprecation_warnings.path




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