Control: tags 1098932 + patch
Control: tags 1098932 + pending
Dear maintainer,
I've prepared an NMU for rust-utmp-classic-raw (versioned as 0.1.3-1.1) and
uploaded it.
Regards.
diff -Nru rust-utmp-classic-raw-0.1.3/debian/changelog
rust-utmp-classic-raw-0.1.3/debian/changelog
--- rust-utmp-classic-raw-0.1.3/debian/changelog 2024-12-22
14:38:01.000000000 +0100
+++ rust-utmp-classic-raw-0.1.3/debian/changelog 2025-03-07
13:20:38.000000000 +0100
@@ -1,3 +1,13 @@
+rust-utmp-classic-raw (0.1.3-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+
+ [ hangdandan <zhangdan...@loongson.cn> ]
+ * Add support for loongarch64 with upstream proposed patch
+ (Closes: #1098932)
+
+ -- Gianfranco Costamagna <locutusofb...@debian.org> Fri, 07 Mar 2025
13:20:38 +0100
+
rust-utmp-classic-raw (0.1.3-1) unstable; urgency=medium
* Package utmp-classic-raw 0.1.3 from crates.io using debcargo 2.7.5
diff -Nru rust-utmp-classic-raw-0.1.3/debian/patches/loongarch64.patch
rust-utmp-classic-raw-0.1.3/debian/patches/loongarch64.patch
--- rust-utmp-classic-raw-0.1.3/debian/patches/loongarch64.patch
1970-01-01 01:00:00.000000000 +0100
+++ rust-utmp-classic-raw-0.1.3/debian/patches/loongarch64.patch
2025-03-07 13:20:38.000000000 +0100
@@ -0,0 +1,21 @@
+From f5f1bbb8dcb9f7159a9096066a923c4f1e398fb4 Mon Sep 17 00:00:00 2001
+From: Dandan Zhang <zhangdan...@loongson.cn>
+Date: Wed, 26 Feb 2025 07:19:17 +0000
+Subject: [PATCH] Add loongarch64 support
+
+---
+ raw/src/lib.rs | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/lib.rs b/src/lib.rs
+index 6172033..4733f4c 100644
+--- a/src/lib.rs
++++ b/src/lib.rs
+@@ -57,6 +57,7 @@ cfg_if! {
+ target_arch = "sparc",
+ target_arch = "sparc64",
+ target_arch = "aarch64",
++ target_arch = "loongarch64",
+ ))] {
+ pub use x32::*;
+ } else if #[cfg(any(
diff -Nru rust-utmp-classic-raw-0.1.3/debian/patches/series
rust-utmp-classic-raw-0.1.3/debian/patches/series
--- rust-utmp-classic-raw-0.1.3/debian/patches/series 1970-01-01
01:00:00.000000000 +0100
+++ rust-utmp-classic-raw-0.1.3/debian/patches/series 2025-03-07
13:20:33.000000000 +0100
@@ -0,0 +1 @@
+loongarch64.patch
diff -Nru rust-utmp-classic-raw-0.1.3/debian/changelog rust-utmp-classic-raw-0.1.3/debian/changelog
--- rust-utmp-classic-raw-0.1.3/debian/changelog 2024-12-22 14:38:01.000000000 +0100
+++ rust-utmp-classic-raw-0.1.3/debian/changelog 2025-03-07 13:20:38.000000000 +0100
@@ -1,3 +1,13 @@
+rust-utmp-classic-raw (0.1.3-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+
+ [ hangdandan <zhangdan...@loongson.cn> ]
+ * Add support for loongarch64 with upstream proposed patch
+ (Closes: #1098932)
+
+ -- Gianfranco Costamagna <locutusofb...@debian.org> Fri, 07 Mar 2025 13:20:38 +0100
+
rust-utmp-classic-raw (0.1.3-1) unstable; urgency=medium
* Package utmp-classic-raw 0.1.3 from crates.io using debcargo 2.7.5
diff -Nru rust-utmp-classic-raw-0.1.3/debian/patches/loongarch64.patch rust-utmp-classic-raw-0.1.3/debian/patches/loongarch64.patch
--- rust-utmp-classic-raw-0.1.3/debian/patches/loongarch64.patch 1970-01-01 01:00:00.000000000 +0100
+++ rust-utmp-classic-raw-0.1.3/debian/patches/loongarch64.patch 2025-03-07 13:20:38.000000000 +0100
@@ -0,0 +1,21 @@
+From f5f1bbb8dcb9f7159a9096066a923c4f1e398fb4 Mon Sep 17 00:00:00 2001
+From: Dandan Zhang <zhangdan...@loongson.cn>
+Date: Wed, 26 Feb 2025 07:19:17 +0000
+Subject: [PATCH] Add loongarch64 support
+
+---
+ raw/src/lib.rs | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/lib.rs b/src/lib.rs
+index 6172033..4733f4c 100644
+--- a/src/lib.rs
++++ b/src/lib.rs
+@@ -57,6 +57,7 @@ cfg_if! {
+ target_arch = "sparc",
+ target_arch = "sparc64",
+ target_arch = "aarch64",
++ target_arch = "loongarch64",
+ ))] {
+ pub use x32::*;
+ } else if #[cfg(any(
diff -Nru rust-utmp-classic-raw-0.1.3/debian/patches/series rust-utmp-classic-raw-0.1.3/debian/patches/series
--- rust-utmp-classic-raw-0.1.3/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ rust-utmp-classic-raw-0.1.3/debian/patches/series 2025-03-07 13:20:33.000000000 +0100
@@ -0,0 +1 @@
+loongarch64.patch