瀏覽代碼

Dpkg::Version: Import Dpkg::Gettext

* scripts/Dpkg/Version.pm: Import Dpkg::Gettext since check_version() uses
_g().
Raphael Hertzog 18 年之前
父節點
當前提交
589fe8d5bf
共有 3 個文件被更改,包括 7 次插入0 次删除
  1. 4 0
      ChangeLog
  2. 2 0
      debian/changelog
  3. 1 0
      scripts/Dpkg/Version.pm

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+2008-02-13  Raphael Hertzog  <hertzog@debian.org>
+
+	* scripts/Dpkg/Version.pm: Import Dpkg::Gettext since we use _g().
+
 2008-02-07  Guillem Jover  <guillem@debian.org>
 2008-02-07  Guillem Jover  <guillem@debian.org>
 
 
 	* scripts/dpkg-gencontrol.pl: Do not output the Homepage field on udeb.
 	* scripts/dpkg-gencontrol.pl: Do not output the Homepage field on udeb.

+ 2 - 0
debian/changelog

@@ -31,6 +31,8 @@ dpkg (1.14.17) UNRELEASED; urgency=low
     about.
     about.
   * Handle the case when the library has a different SONAME than the one used
   * Handle the case when the library has a different SONAME than the one used
     to find it. Closes: #462413
     to find it. Closes: #462413
+  * Fix Dpkg::Version to import _g() from Dpkg::Gettext. Thanks to Adam Heath
+    for spotting this. Closes: #465651
 
 
   [ Frank Lichtenheld ]
   [ Frank Lichtenheld ]
   * Add a warning in dpkg-buildpackage if the build-dependencies are not
   * Add a warning in dpkg-buildpackage if the build-dependencies are not

+ 1 - 0
scripts/Dpkg/Version.pm

@@ -22,6 +22,7 @@ use strict;
 use warnings;
 use warnings;
 
 
 use Dpkg::ErrorHandling qw(error);
 use Dpkg::ErrorHandling qw(error);
+use Dpkg::Gettext;
 
 
 use Exporter;
 use Exporter;
 our @ISA = qw(Exporter);
 our @ISA = qw(Exporter);