mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
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>
This commit is contained in:
committed by
Gyorgy Sarvari
parent
1ee2e242f0
commit
7acabbe066
+20
-13
@@ -1,4 +1,4 @@
|
|||||||
From 1df0f4ae8fd54bc1ae940dfafa701c84d068674d Mon Sep 17 00:00:00 2001
|
From fd075074182f756e2872569925f70f5f4e2386c2 Mon Sep 17 00:00:00 2001
|
||||||
From: Koen Kooi <koen@dominion.thruhere.net>
|
From: Koen Kooi <koen@dominion.thruhere.net>
|
||||||
Date: Sun, 25 May 2025 12:24:16 +0000
|
Date: Sun, 25 May 2025 12:24:16 +0000
|
||||||
Subject: [PATCH] Fix build issue caused by OE-core changes to
|
Subject: [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
|
|||||||
Upstream-Status: Inappropriate [oe-specific]
|
Upstream-Status: Inappropriate [oe-specific]
|
||||||
|
|
||||||
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
|
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.
|
||||||
|
|
||||||
|
Signed-off-by: Changqing Li <changqing.li@windriver.com>
|
||||||
|
|
||||||
---
|
---
|
||||||
libwnck/tasklist.c | 2 +-
|
libwnck/tasklist.c | 3 ++-
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/libwnck/tasklist.c b/libwnck/tasklist.c
|
diff --git a/libwnck/tasklist.c b/libwnck/tasklist.c
|
||||||
index 7418f89..460e11d 100644
|
index 7418f89..f0f30b2 100644
|
||||||
--- a/libwnck/tasklist.c
|
--- a/libwnck/tasklist.c
|
||||||
+++ b/libwnck/tasklist.c
|
+++ b/libwnck/tasklist.c
|
||||||
@@ -5031,7 +5031,7 @@ sequence_timeout_callback (void *user_data)
|
@@ -5019,7 +5019,8 @@ sequence_timeout_callback (void *user_data)
|
||||||
WnckTask *task = WNCK_TASK (tmp->data);
|
WnckTasklist *tasklist = user_data;
|
||||||
|
GList *tmp;
|
||||||
sn_startup_sequence_get_last_active_time (task->startup_sequence,
|
gint64 now;
|
||||||
- &tv_sec, &tv_usec);
|
- long tv_sec, tv_usec;
|
||||||
+ (time_t *) &tv_sec, &tv_usec);
|
+ long long tv_sec;
|
||||||
|
+ long tv_usec;
|
||||||
elapsed = (now - (tv_sec * G_USEC_PER_SEC + tv_usec)) / 1000.0;
|
double elapsed;
|
||||||
|
|
||||||
|
now = g_get_real_time ();
|
||||||
--
|
--
|
||||||
2.33.0
|
2.34.1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user