diff options
author | Matoro Mahri <matoro_gentoo@matoro.tk> | 2023-12-10 23:59:40 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-12-19 05:25:51 +0000 |
commit | 9dd6023fc3f61a20ec7245db28f9976dd2b3db0a (patch) | |
tree | ea2b945ad5e3956a3ea28ad737e64f019b2e7ddb /app-arch/dpkg/files/dpkg-1.21.15-arch_pm.patch | |
parent | sys-kernel/rt-sources: add 6.1.67_p20, drop 6.1.64_p17 (diff) | |
download | gentoo-9dd6023fc3f61a20ec7245db28f9976dd2b3db0a.tar.gz gentoo-9dd6023fc3f61a20ec7245db28f9976dd2b3db0a.tar.bz2 gentoo-9dd6023fc3f61a20ec7245db28f9976dd2b3db0a.zip |
app-arch/dpkg: add patch to fix mips build
See: https://git.yoctoproject.org/poky/tree/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch
Closes: https://bugs.gentoo.org/876031
Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
Closes: https://github.com/gentoo/gentoo/pull/34229
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-arch/dpkg/files/dpkg-1.21.15-arch_pm.patch')
-rw-r--r-- | app-arch/dpkg/files/dpkg-1.21.15-arch_pm.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/app-arch/dpkg/files/dpkg-1.21.15-arch_pm.patch b/app-arch/dpkg/files/dpkg-1.21.15-arch_pm.patch new file mode 100644 index 000000000000..5982336a3574 --- /dev/null +++ b/app-arch/dpkg/files/dpkg-1.21.15-arch_pm.patch @@ -0,0 +1,32 @@ +https://bugs.gentoo.org/876031 +https://git.yoctoproject.org/poky/tree/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch + +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: Pending + +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 1720847b8..6345ce3b9 100644 +--- a/scripts/Dpkg/Arch.pm ++++ b/scripts/Dpkg/Arch.pm +@@ -323,9 +323,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; + } +-- +2.11.0 |