The following commit has been merged in the master branch:
commit aa16b40d19677307dc1d21327c10e9a5ff9908ea
Author: Guillem Jover <[email protected]>
Date:   Thu Jul 4 00:56:36 2013 +0200

    Dpkg::Arch: Do not overwrite triplet mappings with latter matches

diff --git a/scripts/Dpkg/Arch.pm b/scripts/Dpkg/Arch.pm
index 49fc4cd..abcf0b2 100644
--- a/scripts/Dpkg/Arch.pm
+++ b/scripts/Dpkg/Arch.pm
@@ -232,6 +232,9 @@ sub read_triplettable()
                    (my $dt = $debtriplet) =~ s/<cpu>/$_cpu/;
                    (my $da = $debarch) =~ s/<cpu>/$_cpu/;
 
+                   next if exists $debarch_to_debtriplet{$da}
+                        or exists $debtriplet_to_debarch{$dt};
+
                    $debarch_to_debtriplet{$da} = $dt;
                    $debtriplet_to_debarch{$dt} = $da;
                }

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to