diff options
Diffstat (limited to 'databases/postgresql13-server')
-rw-r--r-- | databases/postgresql13-server/Makefile | 2 | ||||
-rw-r--r-- | databases/postgresql13-server/files/patch-icu68 | 17 |
2 files changed, 18 insertions, 1 deletions
diff --git a/databases/postgresql13-server/Makefile b/databases/postgresql13-server/Makefile index ed33e40bcce0..e72e3e8bf692 100644 --- a/databases/postgresql13-server/Makefile +++ b/databases/postgresql13-server/Makefile @@ -5,7 +5,7 @@ PORTNAME?= postgresql DISTVERSION?= 13.0 # PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and # not their own. Probably best to keep it at ?=0 when reset here too. -PORTREVISION?= 4 +PORTREVISION?= 5 CATEGORIES?= databases MASTER_SITES= PGSQL/source/v${DISTVERSION} PKGNAMESUFFIX?= ${PORTVERSION:R}${COMPONENT} diff --git a/databases/postgresql13-server/files/patch-icu68 b/databases/postgresql13-server/files/patch-icu68 new file mode 100644 index 000000000000..54d4cc7dc01f --- /dev/null +++ b/databases/postgresql13-server/files/patch-icu68 @@ -0,0 +1,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-09-21 20:47:36 UTC ++++ src/backend/commands/collationcmds.c +@@ -464,7 +464,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", |