summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2025-08-28 12:54:48 +0800
committerKhem Raj <raj.khem@gmail.com>2025-08-28 07:56:01 -0700
commite267b5930623e402f1b1ca51367899bda4ada354 (patch)
treef16eece7eb25d507399d03899f27361f3603af7e
parentb8d92b383da13fe3e6e419dbc59b65ded690f0f5 (diff)
downloadmeta-openembedded-e267b5930623e402f1b1ca51367899bda4ada354.tar.gz
libwnck3: fix build failure for lib32-libwnck3
Refresh patch for fix build issue Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-gnome/recipes-gnome/libwnck/files/0001-Fix-build-issue-caused-by-OE-core-changes-to-startup.patch33
1 files changed, 20 insertions, 13 deletions
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 91e23c785b..0328202f1b 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
@@ -1,4 +1,4 @@
1From 1df0f4ae8fd54bc1ae940dfafa701c84d068674d Mon Sep 17 00:00:00 2001 1From fd075074182f756e2872569925f70f5f4e2386c2 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net> 2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Sun, 25 May 2025 12:24:16 +0000 3Date: Sun, 25 May 2025 12:24:16 +0000
4Subject: [PATCH] Fix build issue caused by OE-core changes to 4Subject: [PATCH] Fix build issue caused by OE-core changes to
@@ -21,23 +21,30 @@ It is caused by a patch of startup-notification in oe-core which is backported f
21Upstream-Status: Inappropriate [oe-specific] 21Upstream-Status: Inappropriate [oe-specific]
22 22
23Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> 23Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
24
25Refresh the patch
26Don't use explicit type cast to avoid truncation, use long long for tv_sec.
27
28Signed-off-by: Changqing Li <changqing.li@windriver.com>
29
24--- 30---
25 libwnck/tasklist.c | 2 +- 31 libwnck/tasklist.c | 3 ++-
26 1 file changed, 1 insertion(+), 1 deletion(-) 32 1 file changed, 2 insertions(+), 1 deletion(-)
27 33
28diff --git a/libwnck/tasklist.c b/libwnck/tasklist.c 34diff --git a/libwnck/tasklist.c b/libwnck/tasklist.c
29index 7418f89..460e11d 100644 35index 7418f89..f0f30b2 100644
30--- a/libwnck/tasklist.c 36--- a/libwnck/tasklist.c
31+++ b/libwnck/tasklist.c 37+++ b/libwnck/tasklist.c
32@@ -5031,7 +5031,7 @@ sequence_timeout_callback (void *user_data) 38@@ -5019,7 +5019,8 @@ sequence_timeout_callback (void *user_data)
33 WnckTask *task = WNCK_TASK (tmp->data); 39 WnckTasklist *tasklist = user_data;
34 40 GList *tmp;
35 sn_startup_sequence_get_last_active_time (task->startup_sequence, 41 gint64 now;
36- &tv_sec, &tv_usec); 42- long tv_sec, tv_usec;
37+ (time_t *) &tv_sec, &tv_usec); 43+ long long tv_sec;
38 44+ long tv_usec;
39 elapsed = (now - (tv_sec * G_USEC_PER_SEC + tv_usec)) / 1000.0; 45 double elapsed;
40 46
47 now = g_get_real_time ();
41-- 48--
422.33.0 492.34.1
43 50