From 3d4a0d08f72807fe2fc47c66a91a65b4f9b49b14 Mon Sep 17 00:00:00 2001 From: Raphael Hertzog Date: Tue, 25 Sep 2007 13:46:28 +0200 Subject: [PATCH] dpkg-gensymbols: use Dpkg::Gettext instead of dpkg-gettext.pl --- debian/changelog | 7 +++++++ scripts/dpkg-gensymbols.pl | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index bbd92b73..9578eab9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +dpkg (1.14.7~newshlib.1) experimental; urgency=low + + * Fixes dpkg-gensymbols to use Dpkg::Gettext instead of recently + removed dpkg-gettext.pl. + + -- Raphael Hertzog Tue, 25 Sep 2007 13:42:20 +0200 + dpkg (1.14.7~newshlib) experimental; urgency=low [ Raphael Hertzog ] diff --git a/scripts/dpkg-gensymbols.pl b/scripts/dpkg-gensymbols.pl index 84ebd77c..0b10cb79 100755 --- a/scripts/dpkg-gensymbols.pl +++ b/scripts/dpkg-gensymbols.pl @@ -15,6 +15,9 @@ require 'controllib.pl'; use Dpkg::Shlibs qw(@librarypaths); use Dpkg::Shlibs::Objdump; use Dpkg::Shlibs::SymbolFile; +use Dpkg::Gettext; + +textdomain("dpkg-dev"); our $progname; our (%f, %fi); @@ -24,9 +27,6 @@ our @librarypaths; our $host_arch= `dpkg-architecture -qDEB_HOST_ARCH`; chomp $host_arch; -require 'dpkg-gettext.pl'; -textdomain("dpkg-dev"); - my $controlfile = 'debian/control'; my $changelogfile = 'debian/changelog'; my $packagebuilddir = 'debian/tmp'; -- 2.39.5