summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-python/recipes-devtools/python/python3-icu
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-icu')
-rw-r--r--meta-openembedded/meta-python/recipes-devtools/python/python3-icu/0001-Remove-assert-checking-for-trivial-type.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-icu/0001-Remove-assert-checking-for-trivial-type.patch b/meta-openembedded/meta-python/recipes-devtools/python/python3-icu/0001-Remove-assert-checking-for-trivial-type.patch
new file mode 100644
index 0000000000..4c75eb5f7b
--- /dev/null
+++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-icu/0001-Remove-assert-checking-for-trivial-type.patch
@@ -0,0 +1,26 @@
+From 3d58fb48bb1cef2177aab8e291167638993495f4 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sat, 3 May 2025 21:27:34 -0700
+Subject: [PATCH] Remove assert checking for trivial type
+
+This fails with GCC-15, is_trivial is deprecated in C++26
+
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ arg.h | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/arg.h b/arg.h
+index a493d11..6cb232d 100644
+--- a/arg.h
++++ b/arg.h
+@@ -853,7 +853,6 @@ public:
+ };
+
+ #define _IS_POD(T) \
+- static_assert(std::is_trivial<T>::value); \
+ static_assert(std::is_standard_layout<T>::value)
+
+ _IS_POD(AnyPythonObject);