wok-current view glib/stuff/glib-webkitgtk-workaround.patch @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (2 months ago)
parents
children
line source
1 --- a/glib/glib-typeof.h
2 +++ b/glib/glib-typeof.h
3 @@ -36,7 +36,9 @@
4 #define glib_typeof(t) __typeof__ (t)
5 #elif defined(__cplusplus) && __cplusplus >= 201103L && GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_68
6 /* C++11 decltype() is close enough for our usage */
7 +extern "C++" {
8 #include <type_traits>
9 +}
10 #define glib_typeof(t) typename std::remove_reference<decltype (t)>::type
11 #endif