The following commit has been merged in the master branch:
commit 49f9f9617800f2b4565e01e51d6481c61c6314ef
Author: Raphael Hertzog <[email protected]>
Date: Sat Jun 20 20:30:59 2009 +0200
dpkg-gensymbols: do not output deprecated symbols
The deprecated symbols appear commented with “#MISSING:”, they should
appear in the explanatory diff but not in the file generated.
diff --git a/debian/changelog b/debian/changelog
index 8a34e44..c2cfe9d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,6 +23,8 @@ dpkg (1.15.3) UNRELEASED; urgency=low
restrict the set of architectures where the symbol is supposed to exist.
Thanks to Modestas Vainius <[email protected]> for the patch.
See dpkg-gensymbols(1) for more information. Closes: #521551
+ * Do not include #MISSING lines in symbols files integrated in binary
+ packages. Closes: #526251
[ Updated dpkg translations ]
* Simplified Chinese (Deng Xiyue). Closes: #531387
diff --git a/scripts/dpkg-gensymbols.pl b/scripts/dpkg-gensymbols.pl
index 30905f1..2ff432d 100755
--- a/scripts/dpkg-gensymbols.pl
+++ b/scripts/dpkg-gensymbols.pl
@@ -194,7 +194,8 @@ $symfile->clear_except(keys %{$od->{objects}});
# Write out symbols files
if ($stdout) {
$output = "standard output";
- $symfile->save("-", package => $oppackage, template_mode =>
$template_mode);
+ $symfile->save("-", package => $oppackage,
+ template_mode => $template_mode, with_deprecated => 0);
} else {
unless (defined($output)) {
unless($symfile->is_empty()) {
@@ -204,7 +205,8 @@ if ($stdout) {
}
if (defined($output)) {
print "Storing symbols in $output.\n" if $debug;
- $symfile->save($output, package => $oppackage, template_mode =>
$template_mode);
+ $symfile->save($output, package => $oppackage,
+ template_mode => $template_mode, with_deprecated => 0);
} else {
print "No symbol information to store.\n" if $debug;
}
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]