diff options
Diffstat (limited to 'meta/recipes-devtools/dpkg/dpkg/arch_pm.patch')
-rw-r--r-- | meta/recipes-devtools/dpkg/dpkg/arch_pm.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch b/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch new file mode 100644 index 0000000000..cad4c0f0a1 --- /dev/null +++ b/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | configure cannot determine the proper cpu, os, or | ||
2 | architecture for mips64, and possibly other arch's | ||
3 | because of faulty code added to Arch.pm in the latest | ||
4 | release from upstream. We remove that code. | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Joe Slater <jslater@windriver.com> | ||
9 | |||
10 | |||
11 | --- a/scripts/Dpkg/Arch.pm | ||
12 | +++ b/scripts/Dpkg/Arch.pm | ||
13 | @@ -233,9 +233,6 @@ sub read_triplettable() | ||
14 | (my $dt = $debtriplet) =~ s/<cpu>/$_cpu/; | ||
15 | (my $da = $debarch) =~ s/<cpu>/$_cpu/; | ||
16 | |||
17 | - next if exists $debarch_to_debtriplet{$da} | ||
18 | - or exists $debtriplet_to_debarch{$dt}; | ||
19 | - | ||
20 | $debarch_to_debtriplet{$da} = $dt; | ||
21 | $debtriplet_to_debarch{$dt} = $da; | ||
22 | } | ||