From e9d5e48bf30d5d15ec26db1ce223dd9944cb7305 Mon Sep 17 00:00:00 2001 From: Raphael Hertzog Date: Fri, 7 Mar 2008 15:15:45 +0100 Subject: [PATCH] Dpkg::Fields::Object: Import Dpkg::Gettext * scripts/Dpkg/Fields.pm: Import Dpkg::Gettext since the output() method uses _g(). --- ChangeLog | 4 ++++ debian/changelog | 5 +++-- scripts/Dpkg/Fields.pm | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index fdf49aee..680d44d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-03-07 Raphael Hertzog + + * scripts/Dpkg/Fields.pm: Import Dpkg::Gettext since we use _g(). + 2008-03-06 Sean Finney * lib/dump.c (writedb): Free newfn and oldfn. diff --git a/debian/changelog b/debian/changelog index 8778ff42..e0d2a093 100644 --- a/debian/changelog +++ b/debian/changelog @@ -35,8 +35,9 @@ dpkg (1.14.17) UNRELEASED; urgency=low about. * Handle the case when the library has a different SONAME than the one used to find it. Closes: #462413 - * Fix Dpkg::Version to import _g() from Dpkg::Gettext. Thanks to Adam Heath - for spotting this. Closes: #465651 + * Fix Dpkg::Version and Dpkg::Fields::Object to import _g() from + Dpkg::Gettext. Thanks to Adam Heath and Olivier Berger for spotting + this. Closes: #465651 * Change PATH during make check to look into build directories containing dpkg and the related scripts. Thanks to Mike Frysinger. Closes: #466957 * Some lintian cleanup: diff --git a/scripts/Dpkg/Fields.pm b/scripts/Dpkg/Fields.pm index f1b9df39..a41fab7f 100644 --- a/scripts/Dpkg/Fields.pm +++ b/scripts/Dpkg/Fields.pm @@ -50,6 +50,7 @@ use Tie::Hash; our @ISA = qw(Tie::ExtraHash Tie::Hash); use Dpkg::ErrorHandling qw(internerr syserr); +use Dpkg::Gettext; # Import capit Dpkg::Fields->import('capit'); -- 2.39.5