summaryrefslogtreecommitdiff
path: root/dev-db/postgresql/files/postgresql-10.0-icu68.patch
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2020-11-14 08:50:18 -0500
committerAaron W. Swenson <titanofold@gentoo.org>2020-11-14 08:59:10 -0500
commit734742ccd7c2a901d5fb30975c0c7d27c6482cc2 (patch)
tree6acd91d8225a9f521c33c43fabdf7252f6f6ddfd /dev-db/postgresql/files/postgresql-10.0-icu68.patch
parent95a1b1243362c175499438a68a77f0515e4f112a (diff)
downloadgentoo-734742ccd7c2a901d5fb30975c0c7d27c6482cc2.tar.gz
gentoo-734742ccd7c2a901d5fb30975c0c7d27c6482cc2.tar.bz2
gentoo-734742ccd7c2a901d5fb30975c0c7d27c6482cc2.zip
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 <titanofold@gentoo.org>
Diffstat (limited to 'dev-db/postgresql/files/postgresql-10.0-icu68.patch')
-rw-r--r--dev-db/postgresql/files/postgresql-10.0-icu68.patch12
1 files changed, 12 insertions, 0 deletions
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",