summaryrefslogtreecommitdiff
path: root/comms/synce-rra/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'comms/synce-rra/patches/patch-ab')
-rw-r--r--comms/synce-rra/patches/patch-ab17
1 files changed, 17 insertions, 0 deletions
diff --git a/comms/synce-rra/patches/patch-ab b/comms/synce-rra/patches/patch-ab
new file mode 100644
index 00000000000..9353baa3a67
--- /dev/null
+++ b/comms/synce-rra/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/10/13 16:57:41 wiz Exp $
+
+--- lib/parser.c.orig 2005-05-13 13:31:07.000000000 +0200
++++ lib/parser.c
+@@ -55,10 +55,10 @@ struct _Parser
+ size_t propval_count;
+ };
+
+-bool parser_duration_to_seconds(const char* duration, int* result)/*{{{*/
++bool parser_duration_to_seconds(const unsigned char* duration, int* result)/*{{{*/
+ {
+ enum { dur_sign, dur_p, dur_any, dur_time, dur_end } state = dur_sign;
+- const char *p;
++ const unsigned char *p;
+ struct tm time_struct;
+ int sign = 1;
+ int value = 0;