libdnf/0001-libdnf-0.65.0-add-loongarch-support.patch
2023-01-05 15:55:17 +08:00

26 lines
835 B
Diff

From a734378da28087be668d1ddda7dcfd3c2f3737b1 Mon Sep 17 00:00:00 2001
From: Huang Yang <huangyang@loongson.cn>
Date: Thu, 2 Jun 2022 06:51:17 +0000
Subject: [PATCH] libdnf 0.65.0 add loongarch support
---
libdnf/dnf-context.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libdnf/dnf-context.cpp b/libdnf/dnf-context.cpp
index ad467aa..9ed55ec 100644
--- a/libdnf/dnf-context.cpp
+++ b/libdnf/dnf-context.cpp
@@ -112,6 +112,8 @@ static const struct {
{ "riscv32", { "riscv32", NULL } },
{ "riscv64", { "riscv64", NULL } },
{ "riscv128", { "riscv128", NULL } },
+ { "loongarch32", { "loongarch32", NULL } },
+ { "loongarch64", { "loongarch64", NULL } },
{ "s390", { "s390", NULL } },
{ "s390x", { "s390x", NULL } },
{ "sh3", { "sh3", NULL } },
--
2.33.0