summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2025-08-28 12:54:48 +0800
committerGyorgy Sarvari <skandigraun@gmail.com>2025-09-10 17:26:52 +0200
commit7acabbe066dc1bdabcf3e972aac996015b2f2fed (patch)
tree219c78e9fb974217b7d98c4e1b880e9578dc4dd5
parent1ee2e242f0a595a0dc5b638f62b13948de35e13c (diff)
downloadmeta-openembedded-7acabbe066dc1bdabcf3e972aac996015b2f2fed.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: Gyorgy Sarvari <skandigraun@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