32 lines
1.3 KiB
Diff
32 lines
1.3 KiB
Diff
From 0000000000000000000000000000000000000000 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 522fe28d8d85..2ee47fe6cdfc 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");
|