From 6d5d6429d5880f9fdf4b4b54c0fb53e44b3927f9 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Tue, 3 Nov 2020 00:56:26 +0000 Subject: 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) --- devel/libical/files/patch-icu68 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 devel/libical/files/patch-icu68 (limited to 'devel/libical/files/patch-icu68') 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"); -- cgit v1.2.3