diff options
-rw-r--r-- | mail/xmailwatcher/distinfo | 3 | ||||
-rw-r--r-- | mail/xmailwatcher/patches/patch-ab | 36 |
2 files changed, 38 insertions, 1 deletions
diff --git a/mail/xmailwatcher/distinfo b/mail/xmailwatcher/distinfo index f4266486b28..e4425596a30 100644 --- a/mail/xmailwatcher/distinfo +++ b/mail/xmailwatcher/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 09:59:30 agc Exp $ +$NetBSD: distinfo,v 1.3 2008/09/30 14:13:11 joerg Exp $ SHA1 (xmailwatcher.tar.gz) = eed0c1b39a0877471ab4a862a49f1fd8b5bfacfc RMD160 (xmailwatcher.tar.gz) = acdd522889330b998f313274cd3f6405dceee1ae Size (xmailwatcher.tar.gz) = 15393 bytes SHA1 (patch-aa) = f9af02cab5c4b3244e1a5ac346b8fff123fcf441 +SHA1 (patch-ab) = d06c810dd30f476c81dc05eda92bb822dd9fc742 diff --git a/mail/xmailwatcher/patches/patch-ab b/mail/xmailwatcher/patches/patch-ab new file mode 100644 index 00000000000..ff43ae3fde4 --- /dev/null +++ b/mail/xmailwatcher/patches/patch-ab @@ -0,0 +1,36 @@ +$NetBSD: patch-ab,v 1.1 2008/09/30 14:13:11 joerg Exp $ + +--- xmailwatcher.c.orig 2008-09-30 16:09:35.000000000 +0200 ++++ xmailwatcher.c +@@ -47,6 +47,7 @@ purpose. It is provided "as is" without + #define BUFFER_DEFAULT 32000 + + #include <stdio.h> ++#include <stdlib.h> + + typedef struct _Resources { + int pollInterval; +@@ -149,7 +150,7 @@ static XtConvertArgRec screenConvertArg[ + void timedRescan(); + void listEvent(); + void iconEvent(); +-void iconCallback(); ++static void iconCallback(); + + static int mapped; + +@@ -361,12 +362,11 @@ XtPointer client_data, call_data; + } + } + +-static void setTitle(time, have) +-long time, have; ++static void setTitle(time_t time, long have) + { char titleBuffer[80]; + Arg args[4]; + int n; +- static int lastTime; ++ static time_t lastTime; + + if (time == lastTime) return; + |