summaryrefslogtreecommitdiff
path: root/devel/libical
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-11-03 00:56:26 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-11-03 00:56:26 +0000
commit6d5d6429d5880f9fdf4b4b54c0fb53e44b3927f9 (patch)
treedb7a5d68a7b148f62f63c9562391af1272e3f376 /devel/libical
parentgraphics/mesa-devel: update to 20.2.b.3686 (diff)
devel/icu: update to 68.1
Changes: http://site.icu-project.org/download/68 ABI: https://abi-laboratory.pro/tracker/timeline/icu4c/ Reported by: GitHub (watch releases)
Notes
Notes: svn path=/head/; revision=553940
Diffstat (limited to 'devel/libical')
-rw-r--r--devel/libical/Makefile1
-rw-r--r--devel/libical/files/patch-icu6829
2 files changed, 30 insertions, 0 deletions
diff --git a/devel/libical/Makefile b/devel/libical/Makefile
index 49855ea9b45a..d02bdde8930e 100644
--- a/devel/libical/Makefile
+++ b/devel/libical/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libical
DISTVERSION= 3.0.8
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://github.com/libical/libical/releases/download/v${PORTVERSION}/
diff --git a/devel/libical/files/patch-icu68 b/devel/libical/files/patch-icu68
new file mode 100644
index 000000000000..8fc1516a74bb
--- /dev/null
+++ b/devel/libical/files/patch-icu68
@@ -0,0 +1,29 @@
+Regressed by https://github.com/unicode-org/icu/commit/c3fe7e09d844
+
+src/libical/icalrecur.c:1021:59: error: use of undeclared identifier 'FALSE'
+ en = ucal_getKeywordValuesForLocale("calendar", NULL, FALSE, &status);
+ ^
+src/libical/icalrecur.c:1414:63: error: use of undeclared identifier 'FALSE'
+ en = ucal_getKeywordValuesForLocale("calendar", NULL, FALSE, &status);
+ ^
+
+--- src/libical/icalrecur.c.orig 2020-03-07 14:42:42 UTC
++++ src/libical/icalrecur.c
+@@ -1018,7 +1018,7 @@ icalarray *icalrecurrencetype_rscale_supported_calenda
+
+ calendars = icalarray_new(sizeof(const char **), 20);
+
+- en = ucal_getKeywordValuesForLocale("calendar", NULL, FALSE, &status);
++ en = ucal_getKeywordValuesForLocale("calendar", NULL, false, &status);
+ while ((cal = uenum_next(en, NULL, &status))) {
+ cal = icalmemory_tmp_copy(cal);
+ icalarray_append(calendars, &cal);
+@@ -1411,7 +1411,7 @@ static int initialize_rscale(icalrecur_iterator *impl)
+ }
+
+ /* Check if specified calendar is supported */
+- en = ucal_getKeywordValuesForLocale("calendar", NULL, FALSE, &status);
++ en = ucal_getKeywordValuesForLocale("calendar", NULL, false, &status);
+ while ((cal = uenum_next(en, NULL, &status))) {
+ if (!strcmp(cal, rule.rscale)) {
+ is_hebrew = !strcmp(rule.rscale, "hebrew");