Message ID | 20250908091619.1134645-1-Qi.Chen@windriver.com |
---|---|
State | Under Review |
Headers | show |
Series | [meta-gnome] libnwck/libnwck3: use time_t to avoid build failure | expand |
diff --git a/meta-gnome/recipes-gnome/libwnck/files/0001-Fix-build-issue-caused-by-OE-core-changes-to-startup.patch b/meta-gnome/recipes-gnome/libwnck/files/0001-Fix-build-issue-caused-by-OE-core-changes-to-startup.patch index 0328202f1b..f16f3e1d97 100644 --- a/meta-gnome/recipes-gnome/libwnck/files/0001-Fix-build-issue-caused-by-OE-core-changes-to-startup.patch +++ b/meta-gnome/recipes-gnome/libwnck/files/0001-Fix-build-issue-caused-by-OE-core-changes-to-startup.patch @@ -23,7 +23,7 @@ Upstream-Status: Inappropriate [oe-specific] Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Refresh the patch -Don't use explicit type cast to avoid truncation, use long long for tv_sec. +Don't use explicit type cast to avoid truncation, use time_t for tv_sec. Signed-off-by: Changqing Li <changqing.li@windriver.com> @@ -40,7 +40,7 @@ index 7418f89..f0f30b2 100644 GList *tmp; gint64 now; - long tv_sec, tv_usec; -+ long long tv_sec; ++ time_t tv_sec; + long tv_usec; double elapsed; diff --git a/meta-gnome/recipes-gnome/libwnck/files/0001-tasklist.c-fix-Wincompatible-pointer-types-error.patch b/meta-gnome/recipes-gnome/libwnck/files/0001-tasklist.c-fix-Wincompatible-pointer-types-error.patch index 4e23f613aa..d9ca1f0cd9 100644 --- a/meta-gnome/recipes-gnome/libwnck/files/0001-tasklist.c-fix-Wincompatible-pointer-types-error.patch +++ b/meta-gnome/recipes-gnome/libwnck/files/0001-tasklist.c-fix-Wincompatible-pointer-types-error.patch @@ -32,7 +32,7 @@ index 4f0c6c4..758fc5f 100644 GList *tmp; GTimeVal now; - long tv_sec, tv_usec; -+ long long tv_sec; ++ time_t tv_sec; + long tv_usec; double elapsed;