diff options
| author | Vineet Kumar <git@vineetk.net> | 2026-06-15 14:54:51 -0400 |
|---|---|---|
| committer | Vineet Kumar <git@vineetk.net> | 2026-06-15 14:54:51 -0400 |
| commit | e81f04fa53e7e01afdc834d9c22b5c982c98f59b (patch) | |
| tree | 763d6d68516ca9d184ddd2402978adcc4027a99d /productivity/calcurse/patches/patch-src_args_c | |
| parent | 92e45e47c29ec037842c4a34ebc0c14143d413ff (diff) | |
This is due to the following two reasons:
1. it's very out of date compared with current ports tree (like by 2+
years!)
- some of the ports here were mainly just updates I didn't upstream,
which have since now been part of openbsd, like verilator
2. removing dependencies is a lot of headache to stay in sync and/or for
ports I no longer use
- e.g. dbus is very difficult to remove in a desktop while patching
to remove from gtk and downstream
- I don't want to spend more time reducing number of dependencies
when I can be working instead. I no longer have as much free time
as I did in high school :(
Diffstat (limited to 'productivity/calcurse/patches/patch-src_args_c')
| -rw-r--r-- | productivity/calcurse/patches/patch-src_args_c | 19 |
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 @@ | |||
| 1 | calcurse uses long for times all over the place; dirty fix for 32-bit | ||
| 2 | arch with 64-bit time_t | ||
| 3 | |||
| 4 | Index: 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, <); | ||
| 19 | strftime(date_str, BUFSIZ, conf.output_datefmt, <); | ||
