Bug#26954: libc5 bug in dpkg-genchanges for archs without libc5
Hi Ian,
here is the requested patch against dpkg-dev:
--- dpkg-genchanges.old Thu Jan 14 01:37:15 1999
+++ dpkg-genchanges Sat Nov 21 14:06:54 1998
@@ -1,7 +1,7 @@
#! /usr/bin/perl
$dpkglibdir="/usr/lib/dpkg";
-$version="1.4.1"; # This line modified by Makefile
+$version="1.4.1.1"; # This line modified by Makefile
$controlfile= 'debian/control';
$changelogfile= 'debian/changelog';
@@ -138,8 +138,7 @@
#print STDERR "P key >$_< value >$v<\n";
$i=$1; $p=$fi{"C$i Package"}; $a=$fi{"C$i Architecture"};
if (!defined($p2f{$p})) {
- if ($a eq 'any' || ($a eq 'all' && !$archspecific) ||
- grep($_ eq $substvar{'Arch'}, split(/\s+/, $a))) {
+ if (!$archspecific || $a eq $substvar{'Arch'}) {
&error("package $p in control file but not in files list");
}
} else {
MfG,
Hartmut
Reply to: