In libwnck, fix size mismatch on 32bit architectures due to time_t-related

API/ABI patch in devel/startup-notification.
ok sthen aja jasper
This commit is contained in:
stsp 2014-02-18 11:02:49 +00:00
parent 4b178ed019
commit 9e789d3bbd
2 changed files with 15 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.55 2013/09/28 08:50:35 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.56 2014/02/18 11:02:49 stsp Exp $
COMMENT= window navigator construction kit
GNOME_PROJECT= libwnck
GNOME_VERSION= 2.30.7
REVISION= 2
REVISION= 3
SHARED_LIBS += wnck-1 24.0 # .25.26

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-libwnck_tasklist_c,v 1.1 2014/02/18 11:02:49 stsp Exp $
--- libwnck/tasklist.c.orig Mon Feb 17 19:51:20 2014
+++ libwnck/tasklist.c Mon Feb 17 19:52:01 2014
@@ -4340,7 +4340,8 @@ sequence_timeout_callback (void *user_data)
WnckTasklist *tasklist = user_data;
GList *tmp;
GTimeVal now;
- long tv_sec, tv_usec;
+ time_t tv_sec;
+ suseconds_t tv_usec;
double elapsed;
g_get_current_time (&now);