aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql12-server
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-11-03 00:56:26 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-11-03 00:56:26 +0000
commit6d5d6429d5880f9fdf4b4b54c0fb53e44b3927f9 (patch)
treedb7a5d68a7b148f62f63c9562391af1272e3f376 /databases/postgresql12-server
parent91d87ad6cea9c90bdf179910d1ab72b833a67768 (diff)
downloadports-6d5d6429d5880f9fdf4b4b54c0fb53e44b3927f9.tar.gz
ports-6d5d6429d5880f9fdf4b4b54c0fb53e44b3927f9.zip
devel/icu: update to 68.1
Notes
Notes: svn path=/head/; revision=553940
Diffstat (limited to 'databases/postgresql12-server')
-rw-r--r--databases/postgresql12-server/Makefile2
-rw-r--r--databases/postgresql12-server/files/patch-icu6817
2 files changed, 18 insertions, 1 deletions
diff --git a/databases/postgresql12-server/Makefile b/databases/postgresql12-server/Makefile
index 327b8006bef1..cf6f84f33ab6 100644
--- a/databases/postgresql12-server/Makefile
+++ b/databases/postgresql12-server/Makefile
@@ -4,7 +4,7 @@
DISTVERSION?= 12.4
# 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?= 1
+PORTREVISION?= 2
MAINTAINER?= pgsql@FreeBSD.org
diff --git a/databases/postgresql12-server/files/patch-icu68 b/databases/postgresql12-server/files/patch-icu68
new file mode 100644
index 000000000000..475bdd8fe52a
--- /dev/null
+++ b/databases/postgresql12-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-08-10 21:15:53 UTC
++++ src/backend/commands/collationcmds.c
+@@ -463,7 +463,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",