Commit 37d412f6 authored by Niko Tyni's avatar Niko Tyni
Browse files

Amend debian/deprecate-with-apt.diff to for other Locale-Codes modules

Closes: #903705
parents f04a8866 0bc0d1fd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
# see git-dpm(1) from git-dpm package
a04f950bbbddd5465beb2ccf4c1b30d44af82a62
a04f950bbbddd5465beb2ccf4c1b30d44af82a62
0bc0d1fd494b909825256f169acdddd3551622db
0bc0d1fd494b909825256f169acdddd3551622db
61a74e188b2c62ee2df321fd190ae5375dfadc42
61a74e188b2c62ee2df321fd190ae5375dfadc42
perl_5.28.0.orig.tar.xz
+10 −8
Original line number Diff line number Diff line
From a04f950bbbddd5465beb2ccf4c1b30d44af82a62 Mon Sep 17 00:00:00 2001
From 0bc0d1fd494b909825256f169acdddd3551622db Mon Sep 17 00:00:00 2001
From: Dominic Hargreaves <dom@earth.li>
Date: Mon, 17 May 2010 13:23:07 +0300
Subject: Point users to Debian packages of deprecated core modules
@@ -6,14 +6,14 @@ Subject: Point users to Debian packages of deprecated core modules
Bug-Debian: http://bugs.debian.org/747628
Patch-Name: debian/deprecate-with-apt.diff
---
 lib/deprecate.pm | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)
 lib/deprecate.pm | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/lib/deprecate.pm b/lib/deprecate.pm
index 47bc11253..f4bfe0c99 100644
index 47bc11253..01d48fa6c 100644
--- a/lib/deprecate.pm
+++ b/lib/deprecate.pm
@@ -7,6 +7,14 @@ our $VERSION = 0.03;
@@ -7,6 +7,16 @@ our $VERSION = 0.03;
 our %Config;
 unless (%Config) { require Config; *Config = \%Config::Config; }
 
@@ -23,12 +23,14 @@ index 47bc11253..f4bfe0c99 100644
+our %DEBIAN_PACKAGES = (
+    'B::Debug'         => 'libb-debug-perl',
+    'Locale::Codes'    => 'liblocale-codes-perl',
+    'Locale::Country'  => 'liblocale-codes-perl',
+    'Locale::Language' => 'liblocale-codes-perl',
+);
+
 # This isn't a public API. It's internal to code maintained by the perl-porters
 # If you would like it to be a public API, please send a patch with
 # documentation and tests. Until then, it may change without warning.
@@ -58,9 +66,15 @@ EOM
@@ -58,9 +68,15 @@ EOM
 	if (defined $callers_bitmask
 	    && (vec($callers_bitmask, $warnings::Offsets{deprecated}, 1)
 		|| vec($callers_bitmask, $warnings::Offsets{all}, 1))) {
+4 −2
Original line number Diff line number Diff line
@@ -13,6 +13,8 @@ unless (%Config) { require Config; *Config = \%Config::Config; }
our %DEBIAN_PACKAGES = (
    'B::Debug'         => 'libb-debug-perl',
    'Locale::Codes'    => 'liblocale-codes-perl',
    'Locale::Country'  => 'liblocale-codes-perl',
    'Locale::Language' => 'liblocale-codes-perl',
);

# This isn't a public API. It's internal to code maintained by the perl-porters