[DRE-maint] Bug#1068227: ruby-rbtrace: diff for NMU version 0.5.1-1.1

Gianfranco Costamagna locutusofborg at debian.org
Sat Oct 26 16:57:09 BST 2024


Control: tags 1068227 + patch
Control: tags 1068227 + pending

Dear maintainer,

I've prepared an NMU for ruby-rbtrace (versioned as 0.5.1-1.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru ruby-rbtrace-0.5.1/debian/changelog ruby-rbtrace-0.5.1/debian/changelog
--- ruby-rbtrace-0.5.1/debian/changelog 2024-08-20 21:06:30.000000000 +0200
+++ ruby-rbtrace-0.5.1/debian/changelog 2024-10-26 17:50:55.000000000 +0200
@@ -1,3 +1,12 @@
+ruby-rbtrace (0.5.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ zhangdandan <zhangdandan at loongson.cn> ]
+  * Add support for loong64 (Closes: #1068227)
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Sat, 26 Oct 2024 17:50:55 +0200
+
  ruby-rbtrace (0.5.1-1) unstable; urgency=medium

    * Team upload.
diff -Nru ruby-rbtrace-0.5.1/debian/patches/ruby-rbtrace-add-loongarch64-definition.patch ruby-rbtrace-0.5.1/debian/patches/ruby-rbtrace-add-loongarch64-definition.patch
--- ruby-rbtrace-0.5.1/debian/patches/ruby-rbtrace-add-loongarch64-definition.patch     1970-01-01 01:00:00.000000000 +0100
+++ ruby-rbtrace-0.5.1/debian/patches/ruby-rbtrace-add-loongarch64-definition.patch     2024-10-26 17:50:30.000000000 +0200
@@ -0,0 +1,16 @@
+Description: Add the definition of loongarch64
+Last-Update: 2024-04-02
+
+--- ruby-rbtrace-0.4.14.orig/ext/extconf.rb
++++ ruby-rbtrace-0.4.14/ext/extconf.rb
+@@ -47,6 +47,10 @@ unless File.exist?("#{CWD}/dst/#{libdir}
+       if buildstr == "riscv64-linux-gnu"
+         buildstr = "riscv64-unknown-linux-gnu"
+       end
++      #ifdef __loongarch64
++        hoststr = "loongarch64-unknown-linux-gnu"
++        buildstr = "loongarch64-unknown-linux-gnu"
++      #endif
+       sys("./configure --disable-dependency-tracking --disable-shared --with-pic --prefix=#{CWD}/dst/ --host=#{hoststr} --build=#{buildstr} --libdir=#{CWD}/dst/#{libdir}")
+       sys("make install")
+     end
diff -Nru ruby-rbtrace-0.5.1/debian/patches/series ruby-rbtrace-0.5.1/debian/patches/series
--- ruby-rbtrace-0.5.1/debian/patches/series    2024-08-20 21:04:05.000000000 +0200
+++ ruby-rbtrace-0.5.1/debian/patches/series    2024-10-26 17:50:50.000000000 +0200
@@ -1 +1,2 @@
  fix-ftbfs-for-riscv.patch
+ruby-rbtrace-add-loongarch64-definition.patch
                                                                                                                                                                                           



More information about the Pkg-ruby-extras-maintainers mailing list