File openucx-strict-headers-additional.patch of Package openucx

state of opensuse's source tree requires additional fixes for build with
strict header checking as e.g. w/ gcc-15

--- src/uct/ib/mlx5/gga/gga_mlx5.c	2025-04-23 16:48:44.303006307 +0200
+++ src/uct/ib/mlx5/gga/gga_mlx5.c	2025-04-23 16:50:50.294440975 +0200
@@ -616,7 +616,7 @@
             .ep_invalidate         = uct_rc_mlx5_base_ep_invalidate,
             .ep_connect_to_ep_v2   = uct_gga_mlx5_ep_connect_to_ep_v2,
             .iface_is_reachable_v2 = uct_gga_mlx5_iface_is_reachable_v2,
-            .ep_is_connected       = ucs_empty_function_do_assert
+            .ep_is_connected       = (uct_ep_is_connected_func_t)ucs_empty_function_do_assert
         },
         .create_cq      = uct_rc_mlx5_iface_common_create_cq,
         .destroy_cq     = uct_rc_mlx5_iface_common_destroy_cq,
--- src/uct/tcp/tcp_iface.c	2025-04-23 16:32:27.249029997 +0200
+++ src/uct/tcp/tcp_iface.c	2025-04-23 16:46:58.288518124 +0200
@@ -621,7 +621,7 @@
     .ep_invalidate         = (uct_ep_invalidate_func_t)ucs_empty_function_return_unsupported,
     .ep_connect_to_ep_v2   = uct_tcp_ep_connect_to_ep_v2,
     .iface_is_reachable_v2 = uct_tcp_iface_is_reachable_v2,
-    .ep_is_connected       = uct_tcp_ep_is_connected
+    .ep_is_connected       = (uct_ep_is_connected_func_t)uct_tcp_ep_is_connected
 };
 
 static UCS_CLASS_INIT_FUNC(uct_tcp_iface_t, uct_md_h md, uct_worker_h worker,
openSUSE Build Service is sponsored by