summaryrefslogtreecommitdiff
path: root/productivity/calcurse/patches/patch-src_args_c
diff options
context:
space:
mode:
Diffstat (limited to 'productivity/calcurse/patches/patch-src_args_c')
-rw-r--r--productivity/calcurse/patches/patch-src_args_c19
1 files changed, 0 insertions, 19 deletions
diff --git a/productivity/calcurse/patches/patch-src_args_c b/productivity/calcurse/patches/patch-src_args_c
deleted file mode 100644
index 1378b34..0000000
--- a/productivity/calcurse/patches/patch-src_args_c
+++ /dev/null
@@ -1,19 +0,0 @@
1calcurse uses long for times all over the place; dirty fix for 32-bit
2arch with 64-bit time_t
3
4Index: src/args.c
5--- src/args.c.orig
6+++ src/args.c
7@@ -251,10 +251,11 @@ static void next_arg(void)
8 /*
9 * Print the date on stdout.
10 */
11-static void arg_print_date(long date)
12+static void arg_print_date(long date_l)
13 {
14 char date_str[BUFSIZ];
15 struct tm lt;
16+ time_t date = date_l;
17
18 localtime_r((time_t *) & date, &lt);
19 strftime(date_str, BUFSIZ, conf.output_datefmt, &lt);