File pyicu-2.15-gcc15.patch of Package python-PyICU
gitlab.pyicu.org/main/pyicu/-/issues/173
gitlab.pyicu.org/main/pyicu/-/commit/82fa082
From 82fa082b149db81c894e0d887c0fff67c3d2826f Mon Sep 17 00:00:00 2001
From: Andi Vajda <vajda@pyicu.org>
Date: Mon, 5 May 2025 18:55:09 -0700
Subject: [PATCH] switch to is_trivially_copyable for sake of g++ 15+
---
arg.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arg.h b/arg.h
index 5cabfaf..35a7b62 100644
--- a/arg.h
+++ b/arg.h
@@ -853,7 +853,7 @@ public:
};
#define _IS_POD(T) \
- static_assert(std::is_trivial<T>::value); \
+ static_assert(std::is_trivially_copyable<T>::value); \
static_assert(std::is_standard_layout<T>::value)
_IS_POD(AnyPythonObject);
--
GitLab