summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-12-01 06:49:21 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-12-01 06:49:21 +0800
commitbb24d0609477e64b05e2655eb542dcae7fc115ac (patch)
treef86e0501dc936fc655cbada4402029b25f53c0a6 /x11
parent8dc17e2d1d8c26f572155d74eef3825ed2b9054e (diff)
downloadmarcuscom-ports-bb24d0609477e64b05e2655eb542dcae7fc115ac.tar.gz
marcuscom-ports-bb24d0609477e64b05e2655eb542dcae7fc115ac.tar.zst
marcuscom-ports-bb24d0609477e64b05e2655eb542dcae7fc115ac.zip
Fix build on 5.X and later.
Reported by: mezz git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3183 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-applets/files/patch-libgswitchit_gswitchit_util.c11
-rw-r--r--x11/gnomeapplets2/files/patch-libgswitchit_gswitchit_util.c11
2 files changed, 22 insertions, 0 deletions
diff --git a/x11/gnome-applets/files/patch-libgswitchit_gswitchit_util.c b/x11/gnome-applets/files/patch-libgswitchit_gswitchit_util.c
new file mode 100644
index 000000000..3822ea955
--- /dev/null
+++ b/x11/gnome-applets/files/patch-libgswitchit_gswitchit_util.c
@@ -0,0 +1,11 @@
+--- libgswitchit/gswitchit_util.c.orig Tue Nov 30 17:47:29 2004
++++ libgswitchit/gswitchit_util.c Tue Nov 30 17:47:52 2004
+@@ -60,7 +60,7 @@
+ int level, const char format[], va_list args)
+ {
+ time_t now = time (NULL);
+- g_log (NULL, G_LOG_LEVEL_DEBUG, "[%08ld,%03d,%s:%s/] \t", now,
++ g_log (NULL, G_LOG_LEVEL_DEBUG, "[%08ld,%03d,%s:%s/] \t", (long) now,
+ level, file, function);
+ g_logv (NULL, G_LOG_LEVEL_DEBUG, format, args);
+ }
diff --git a/x11/gnomeapplets2/files/patch-libgswitchit_gswitchit_util.c b/x11/gnomeapplets2/files/patch-libgswitchit_gswitchit_util.c
new file mode 100644
index 000000000..3822ea955
--- /dev/null
+++ b/x11/gnomeapplets2/files/patch-libgswitchit_gswitchit_util.c
@@ -0,0 +1,11 @@
+--- libgswitchit/gswitchit_util.c.orig Tue Nov 30 17:47:29 2004
++++ libgswitchit/gswitchit_util.c Tue Nov 30 17:47:52 2004
+@@ -60,7 +60,7 @@
+ int level, const char format[], va_list args)
+ {
+ time_t now = time (NULL);
+- g_log (NULL, G_LOG_LEVEL_DEBUG, "[%08ld,%03d,%s:%s/] \t", now,
++ g_log (NULL, G_LOG_LEVEL_DEBUG, "[%08ld,%03d,%s:%s/] \t", (long) now,
+ level, file, function);
+ g_logv (NULL, G_LOG_LEVEL_DEBUG, format, args);
+ }