summaryrefslogtreecommitdiff
path: root/databases/postgresql11-server/files/patch-icu68
blob: 7fc6d8fa98a643abf6a9a745f28645c05b866c39 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Regressed by https://github.com/unicode-org/icu/commit/c3fe7e09d844

collationcmds.c:467:51: error: use of undeclared identifier 'TRUE'
        uloc_toLanguageTag(localename, buf, sizeof(buf), TRUE, &status);
                                                         ^

--- src/backend/commands/collationcmds.c.orig	2020-08-10 21:17:40 UTC
+++ src/backend/commands/collationcmds.c
@@ -444,7 +444,7 @@ get_icu_language_tag(const char *localename)
 	UErrorCode	status;
 
 	status = U_ZERO_ERROR;
-	uloc_toLanguageTag(localename, buf, sizeof(buf), TRUE, &status);
+	uloc_toLanguageTag(localename, buf, sizeof(buf), true, &status);
 	if (U_FAILURE(status))
 		ereport(ERROR,
 				(errmsg("could not convert locale name \"%s\" to language tag: %s",