Control: tags 1064730 + patch
Control: tags 1064730 + pending

Dear maintainer,

I've prepared an NMU for rocthrust (versioned as 5.7.1-2.1) and
uploaded it.

Regards.

diff -Nru rocthrust-5.7.1/debian/changelog rocthrust-5.7.1/debian/changelog
--- rocthrust-5.7.1/debian/changelog    2024-03-26 18:40:24.000000000 +0100
+++ rocthrust-5.7.1/debian/changelog    2024-04-16 18:21:04.000000000 +0200
@@ -1,3 +1,11 @@
+rocthrust (5.7.1-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Reintroduce fallback in invoke_result with upstream proposed
+    and acked patch (Closes: #1064730)
+
+ -- Gianfranco Costamagna <locutusofb...@debian.org>  Tue, 16 Apr 2024 
18:21:04 +0200
+
 rocthrust (5.7.1-2) unstable; urgency=medium

   * Migrate to unstable
diff -Nru rocthrust-5.7.1/debian/patches/invoke_result-std.patch 
rocthrust-5.7.1/debian/patches/invoke_result-std.patch
--- rocthrust-5.7.1/debian/patches/invoke_result-std.patch      1970-01-01 
01:00:00.000000000 +0100
+++ rocthrust-5.7.1/debian/patches/invoke_result-std.patch      2024-04-16 
09:01:08.000000000 +0200
@@ -0,0 +1,17 @@
+Description: Reintroduce fallback lost in 
https://github.com/ROCm/rocThrust/commit/2b80e29803d60f01701a67bc57ef06dacfe8af8b
+Author: Gianfranco Costamagna <locutusofb...@debian.org>
+Forwarded: https://github.com/ROCm/rocThrust/pull/402
+Bug-Debian: https://bugs.debian.org/1064730
+Last-Update: 2024-04-16
+
+--- rocthrust-5.7.1.orig/thrust/detail/type_traits.h
++++ rocthrust-5.7.1/thrust/detail/type_traits.h
+@@ -731,6 +731,8 @@ using invoke_result_t =
+ #else // 2017+
+   ::cuda::std::invoke_result_t<Invokable, Args...>;
+ #endif
++#else
++  std::invoke_result_t<Invokable, Args...>;
+ #endif
+
+ template <class F, class... Us>

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to