summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch
blob: b5a29231ddd2a7929ae8ac4968ac69a4aca1cf21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 812dbb64f2805a3257ef9c9a61abbd10e0b3a08c Mon Sep 17 00:00:00 2001
From: Joe Slater <jslater@windriver.com>
Date: Mon, 26 Aug 2013 23:38:45 +0000
Subject: [PATCH] dpkg: fix configuration issue for mips64

configure cannot determine the proper cpu, os, or
architecture for mips64, and possibly other arch's
because of faulty code added to Arch.pm in the latest
release from upstream.  We remove that code.

Upstream-Status: Inappropriate [not a debian architecture]

Signed-off-by: Joe Slater <jslater@windriver.com>
---
 scripts/Dpkg/Arch.pm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/scripts/Dpkg/Arch.pm b/scripts/Dpkg/Arch.pm
index 0d352eeb9..4ef5fa307 100644
--- a/scripts/Dpkg/Arch.pm
+++ b/scripts/Dpkg/Arch.pm
@@ -326,9 +326,6 @@ sub _load_tupletable()
 		    (my $dt = $debtuple) =~ s/<cpu>/$_cpu/;
 		    (my $da = $debarch) =~ s/<cpu>/$_cpu/;
 
-		    next if exists $debarch_to_debtuple{$da}
-		         or exists $debtuple_to_debarch{$dt};
-
 		    $debarch_to_debtuple{$da} = $dt;
 		    $debtuple_to_debarch{$dt} = $da;
 		}