Hi ports@,
Here is a diff to update calcurse to 4.3.0.
Comments? OK?
Index: Makefile
===================================================================
RCS file: /cvs/ports/productivity/calcurse/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- Makefile 15 Mar 2017 09:26:10 -0000 1.23
+++ Makefile 6 Nov 2017 17:48:54 -0000
@@ -2,7 +2,7 @@
COMMENT= text-based calendar and scheduling application
-DISTNAME= calcurse-4.2.2
+DISTNAME= calcurse-4.3.0
EPOCH= 0
CATEGORIES= productivity
Index: distinfo
===================================================================
RCS file: /cvs/ports/productivity/calcurse/distinfo,v
retrieving revision 1.17
diff -u -p -r1.17 distinfo
--- distinfo 15 Mar 2017 09:26:10 -0000 1.17
+++ distinfo 6 Nov 2017 17:48:54 -0000
@@ -1,2 +1,2 @@
-SHA256 (calcurse-4.2.2.tar.gz) = xogd29HMf70CiYGHrA+0xtisTCcVkJsc8A+3qQzwgEY=
-SIZE (calcurse-4.2.2.tar.gz) = 612456
+SHA256 (calcurse-4.3.0.tar.gz) = MezD3Anh5WFQK0yU+WXtaxZ8A+lBhDjEp61brSx4X5o=
+SIZE (calcurse-4.3.0.tar.gz) = 597490
Index: patches/patch-src_utils_c
===================================================================
RCS file: /cvs/ports/productivity/calcurse/patches/patch-src_utils_c,v
retrieving revision 1.3
diff -u -p -r1.3 patch-src_utils_c
--- patches/patch-src_utils_c 15 Mar 2017 09:26:10 -0000 1.3
+++ patches/patch-src_utils_c 6 Nov 2017 17:48:54 -0000
@@ -1,7 +1,8 @@
$OpenBSD: patch-src_utils_c,v 1.3 2017/03/15 09:26:10 ajacoutot Exp $
---- src/utils.c.orig Thu Jan 12 08:38:27 2017
-+++ src/utils.c Tue Mar 14 14:01:16 2017
-@@ -352,17 +352,19 @@ long get_item_time(long date)
+Index: src/utils.c
+--- src/utils.c.orig
++++ src/utils.c
+@@ -353,17 +353,19 @@ long get_item_time(long date)
get_item_min(date) * MININSEC);
}
@@ -23,7 +24,7 @@ $OpenBSD: patch-src_utils_c,v 1.3 2017/0
localtime_r((time_t *) & date, <);
return lt.tm_min;
-@@ -445,10 +447,11 @@ int date_cmp_day(time_t d1, time_t d2)
+@@ -446,10 +448,11 @@ int date_cmp_day(time_t d1, time_t d2)
}
/* Return a string containing the date, given a date in seconds. */
@@ -36,7 +37,7 @@ $OpenBSD: patch-src_utils_c,v 1.3 2017/0
if (sec == 0) {
strncpy(datestr, "0", BUFSIZ);
-@@ -461,8 +464,10 @@ char *date_sec2date_str(long sec, const char *datefmt)
+@@ -462,8 +465,10 @@ char *date_sec2date_str(long sec, const char *datefmt)
}
/* Generic function to format date. */