From 94e5c643baaae1c942e0d6abf749ec4828a8e3dc Mon Sep 17 00:00:00 2001
From: Paul Zander <negril.nx@gmail.com>
Date: Wed, 6 Aug 2025 15:05:27 +0200
Subject: [PATCH] cuda 13.0

Signed-off-by: Paul Zander <negril.nx@gmail.com>

Regenerated for opencv_contrib-5.0.0: the line following
<thrust/functional.h> changed from "opencv2/core/cuda/common.hpp" to
<thrust/tuple.h> upstream, so the original 4.12.0 hunk no longer applied.
The substitution itself is unchanged (CUDA 13 dropped <thrust/functional.h>).

diff --git a/modules/videostab/src/cuda/global_motion.cu b/modules/videostab/src/cuda/global_motion.cu
index 7eca6ff..6152f7d 100644
--- a/modules/videostab/src/cuda/global_motion.cu
+++ b/modules/videostab/src/cuda/global_motion.cu
@@ -44,7 +44,7 @@

 #include <thrust/device_ptr.h>
 #include <thrust/remove.h>
-#include <thrust/functional.h>
+#include <cuda/std/functional>
 #include <thrust/tuple.h>
 #include "opencv2/core/cuda/common.hpp"

--
2.50.1

