The branch, master has been updated
via 2b6c769da754d9c6d98a1fe2aecf566116122a0b (commit)
from 7501463cb3246aedf9f3fd5ca7aeef6e02a55029 (commit)
- Shortlog ------------------------------------------------------------
2b6c769 dpkg-gensymbols: Use the new Dpkg module
Summary of changes:
ChangeLog | 5 +++++
scripts/dpkg-gensymbols.pl | 14 ++++----------
2 files changed, 9 insertions(+), 10 deletions(-)
-----------------------------------------------------------------------
Details of changes:
commit 2b6c769da754d9c6d98a1fe2aecf566116122a0b
Author: Guillem Jover <[EMAIL PROTECTED]>
Date: Tue Oct 9 01:54:44 2007 +0300
dpkg-gensymbols: Use the new Dpkg module
diff --git a/ChangeLog b/ChangeLog
index c2d87f5..ae563d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-09 Guillem Jover <[EMAIL PROTECTED]>
+
+ * scripts/dpkg-gensymbols.pl: Use new Dpkg module. Do not declare
+ nor initialize $version, $dpkglibdir and $progname anymore.
+
2007-10-09 Frank Lichtenheld <[EMAIL PROTECTED]>
* scripts/dpkg-buildpackage.pl: Add -z/-Z to
diff --git a/scripts/dpkg-gensymbols.pl b/scripts/dpkg-gensymbols.pl
index 0b10cb7..7718955 100755
--- a/scripts/dpkg-gensymbols.pl
+++ b/scripts/dpkg-gensymbols.pl
@@ -3,15 +3,7 @@
use strict;
use warnings;
-our $version;
-our $dpkglibdir;
-BEGIN {
- $version="1.14.4"; # This line modified by Makefile
- $dpkglibdir="."; # This line modified by Makefile
- push(@INC,$dpkglibdir);
-}
-require 'controllib.pl';
-
+use Dpkg;
use Dpkg::Shlibs qw(@librarypaths);
use Dpkg::Shlibs::Objdump;
use Dpkg::Shlibs::SymbolFile;
@@ -19,7 +11,9 @@ use Dpkg::Gettext;
textdomain("dpkg-dev");
-our $progname;
+push(@INC, $dpkglibdir);
+require 'controllib.pl';
+
our (%f, %fi);
our %p2i;
our @librarypaths;
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]