[packages/dnf5] - add x32 to hardcoded arch translation map (p.-)

baggins baggins at pld-linux.org
Sun Feb 16 15:12:08 CET 2025


commit 671c535d102176c550c76febc1db09b5ba37c4a9
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Feb 16 15:28:30 2025 +0100

    - add x32 to hardcoded arch translation map (p.-)

 dnf5.spec |  2 ++
 x32.patch | 10 ++++++++++
 2 files changed, 12 insertions(+)
---
diff --git a/dnf5.spec b/dnf5.spec
index 86b25a1..879e989 100644
--- a/dnf5.spec
+++ b/dnf5.spec
@@ -42,6 +42,7 @@ Patch1:		uname-cpuinfo-deps.patch
 Patch2:		systemdunitdir.patch
 Patch3:		perl-long-long.patch
 Patch4:		system-arch-from-rpmrc.patch
+Patch5:		x32.patch
 # sdbus-cpp 2.x
 Patch100:	0001-cmake-Move-sdbus-c-check-to-one-place.patch
 Patch101:	0002-dnfdaemon-sdbus-cpp-v.-2-requires-strong-types.patch
@@ -330,6 +331,7 @@ similar.
 %patch -P 2 -p1
 %patch -P 3 -p1
 %patch -P 4 -p1
+%patch -P 5 -p1
 %patch -P 100 -p1
 %patch -P 101 -p1
 %patch -P 102 -p1
diff --git a/x32.patch b/x32.patch
new file mode 100644
index 0000000..4676c92
--- /dev/null
+++ b/x32.patch
@@ -0,0 +1,10 @@
+--- dnf5-5.2.10.0/libdnf5/rpm/arch_private.hpp~	2025-02-06 09:25:15.000000000 +0100
++++ dnf5-5.2.10.0/libdnf5/rpm/arch_private.hpp	2025-02-16 14:55:32.906658823 +0100
+@@ -65,6 +65,7 @@
+     {"sparc", {"sparc", "sparc64", "sparc64v", "sparcv8", "sparcv9", "sparcv9v", nullptr}},
+     {"x86_64", {"x86_64", "amd64", "ia32e", nullptr}},
+     {"loongarch64", {"loongarch64", nullptr}},
++    {"x32", {"x32", nullptr}},
+     {nullptr, {nullptr}}};
+ 
+ }  // namespace libdnf5::rpm
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dnf5.git/commitdiff/671c535d102176c550c76febc1db09b5ba37c4a9



More information about the pld-cvs-commit mailing list