From 734742ccd7c2a901d5fb30975c0c7d27c6482cc2 Mon Sep 17 00:00:00 2001 From: "Aaron W. Swenson" Date: Sat, 14 Nov 2020 08:50:18 -0500 Subject: dev-db/postgresql: Version Bumps Bump to: - 13.1 - 12.5 - 11.10 - 10.15 - 9.6.20 - 9.5.24 Fixes CVE-2020-25695, CVE-2020-25694, and CVE-2020-25696. Pg 10+ includes a patch to fix building wit ICU 68. Bug: https://bugs.gentoo.org/753257 Bug: https://bugs.gentoo.org/754363 Signed-off-by: Aaron W. Swenson --- dev-db/postgresql/files/postgresql-10.0-icu68.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 dev-db/postgresql/files/postgresql-10.0-icu68.patch (limited to 'dev-db/postgresql/files/postgresql-10.0-icu68.patch') diff --git a/dev-db/postgresql/files/postgresql-10.0-icu68.patch b/dev-db/postgresql/files/postgresql-10.0-icu68.patch new file mode 100644 index 000000000000..789e47f746ae --- /dev/null +++ b/dev-db/postgresql/files/postgresql-10.0-icu68.patch @@ -0,0 +1,12 @@ +diff -rupN a/src/backend/commands/collationcmds.c b/src/backend/commands/collationcmds.c +--- a/src/backend/commands/collationcmds.c 2020-11-07 08:03:24.122756440 +0300 ++++ b/src/backend/commands/collationcmds.c 2020-11-07 08:04:18.168901199 +0300 +@@ -464,7 +464,7 @@ get_icu_language_tag(const char *localen + 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", -- cgit v1.2.3