Explorar o código

Dpkg::Fields::Object: Import Dpkg::Gettext

* scripts/Dpkg/Fields.pm: Import Dpkg::Gettext since the output() method
uses _g().
Raphael Hertzog %!s(int64=18) %!d(string=hai) anos
pai
achega
e9d5e48bf3
Modificáronse 3 ficheiros con 8 adicións e 2 borrados
  1. 4 0
      ChangeLog
  2. 3 2
      debian/changelog
  3. 1 0
      scripts/Dpkg/Fields.pm

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+2008-03-07  Raphael Hertzog  <hertzog@debian.org>
+
+	* scripts/Dpkg/Fields.pm: Import Dpkg::Gettext since we use _g().
+
 2008-03-06  Sean Finney  <seanius@seanius.net>
 
 	* lib/dump.c (writedb): Free newfn and oldfn.

+ 3 - 2
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:

+ 1 - 0
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');