From ec62c552df8e1fcc187855bb342c082e22a08edc Mon Sep 17 00:00:00 2001
From: Lukas Fleischer <lfleischer@lfos.de>
Date: Wed, 15 May 2024 12:28:38 +0700
Subject: [PATCH] Fix build with ICU 75
---
src/libical/icalrecur.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libical/icalrecur.c b/src/libical/icalrecur.c
index 3c1789480..1907a3636 100644
--- a/src/libical/icalrecur.c
+++ b/src/libical/icalrecur.c
@@ -1125,7 +1125,7 @@ icalarray *icalrecurrencetype_rscale_supported_calendars(void)
calendars = icalarray_new(sizeof(const char **), 20);
- en = ucal_getKeywordValuesForLocale("calendar", NULL, false, &status);
+ en = ucal_getKeywordValuesForLocale("calendar", "", false, &status);
while ((cal = uenum_next(en, NULL, &status))) {
cal = icalmemory_tmp_copy(cal);
icalarray_append(calendars, &cal);
@@ -1526,7 +1526,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", "", false, &status);
while ((cal = uenum_next(en, NULL, &status))) {
if (!strcmp(cal, rule.rscale)) {
is_hebrew = !strcmp(rule.rscale, "hebrew");