[Pkg-rust-maintainers] Bug#1068690: rust-jemalloc-sys: diff for NMU version 0.3.2-2.1

Gianfranco Costamagna locutusofborg at debian.org
Wed Sep 18 10:23:54 BST 2024


Control: tags 1068690 + patch
Control: tags 1068690 + pending

I've prepared an NMU for rust-jemalloc-sys (versioned as 0.3.2-2.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru rust-jemalloc-sys-0.3.2/debian/changelog rust-jemalloc-sys-0.3.2/debian/changelog
--- rust-jemalloc-sys-0.3.2/debian/changelog    2019-11-04 08:52:18.000000000 +0100
+++ rust-jemalloc-sys-0.3.2/debian/changelog    2024-09-18 11:19:29.000000000 +0200
@@ -1,3 +1,12 @@
+rust-jemalloc-sys (0.3.2-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ zhangdandan <zhangdandan at loongson.cn> ]
+  * add support for loongarch64 (Closes: #1068690)
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Wed, 18 Sep 2024 11:19:29 +0200
+
  rust-jemalloc-sys (0.3.2-2) unstable; urgency=medium

    * Package jemalloc-sys 0.3.2 from crates.io using debcargo 2.4.0
diff -Nru rust-jemalloc-sys-0.3.2/debian/patches/rust-jemalloc-sys-add-loongarch-support.patch rust-jemalloc-sys-0.3.2/debian/patches/rust-jemalloc-sys-add-loongarch-support.patch
--- rust-jemalloc-sys-0.3.2/debian/patches/rust-jemalloc-sys-add-loongarch-support.patch        1970-01-01 01:00:00.000000000 +0100
+++ rust-jemalloc-sys-0.3.2/debian/patches/rust-jemalloc-sys-add-loongarch-support.patch        2024-09-18 11:19:27.000000000 +0200
@@ -0,0 +1,29 @@
+Description: Add loongarch support
+Last-Update: 2024-04-09
+Forwarded: yes
+
+--- rust-jemalloc-sys-0.3.2.orig/jemalloc/include/jemalloc/internal/jemalloc_internal_types.h
++++ rust-jemalloc-sys-0.3.2/jemalloc/include/jemalloc/internal/jemalloc_internal_types.h
+@@ -110,6 +110,9 @@ typedef int malloc_cpuid_t;
+ #  ifdef __le32__
+ #    define LG_QUANTUM                4
+ #  endif
++#  ifdef __loongarch__
++#    define LG_QUANTUM                4
++#  endif
+ #  ifndef LG_QUANTUM
+ #    error "Unknown minimum alignment for architecture; specify via "
+        "--with-lg-quantum"
+--- rust-jemalloc-sys-0.3.2.orig/rep/include/jemalloc/internal/quantum.h
++++ rust-jemalloc-sys-0.3.2/rep/include/jemalloc/internal/quantum.h
+@@ -61,6 +61,9 @@
+ #  ifdef __le32__
+ #    define LG_QUANTUM                4
+ #  endif
++#  ifdef __loongarch__
++#    define LG_QUANTUM                4
++#  endif
+ #  ifndef LG_QUANTUM
+ #    error "Unknown minimum alignment for architecture; specify via "
+        "--with-lg-quantum"
+
diff -Nru rust-jemalloc-sys-0.3.2/debian/patches/series rust-jemalloc-sys-0.3.2/debian/patches/series
--- rust-jemalloc-sys-0.3.2/debian/patches/series       2019-11-04 08:52:18.000000000 +0100
+++ rust-jemalloc-sys-0.3.2/debian/patches/series       2024-09-18 11:18:11.000000000 +0200
@@ -1 +1,2 @@
  source-distri.diff
+rust-jemalloc-sys-add-loongarch-support.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20240918/2b69cf33/attachment.sig>


More information about the Pkg-rust-maintainers mailing list