From 01336073787b70c95db21d46ebe36a8540302a70 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Wed, 5 May 2021 15:04:16 +0000 Subject: [PATCH] postgresql: update to 13.2 --- packages/postgresql/build.sh | 5 ++--- .../src-backend-commands-collationcmds.c.patch | 9 --------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/packages/postgresql/build.sh b/packages/postgresql/build.sh index cc5fb286d..7d9426568 100644 --- a/packages/postgresql/build.sh +++ b/packages/postgresql/build.sh @@ -3,10 +3,9 @@ TERMUX_PKG_DESCRIPTION="Object-relational SQL database" TERMUX_PKG_LICENSE="BSD" TERMUX_PKG_LICENSE_FILE="COPYRIGHT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=13.1 -TERMUX_PKG_REVISION=4 +TERMUX_PKG_VERSION=13.2 TERMUX_PKG_SRCURL=https://ftp.postgresql.org/pub/source/v$TERMUX_PKG_VERSION/postgresql-$TERMUX_PKG_VERSION.tar.bz2 -TERMUX_PKG_SHA256=12345c83b89aa29808568977f5200d6da00f88a035517f925293355432ffe61f +TERMUX_PKG_SHA256=5fd7fcd08db86f5b2aed28fcfaf9ae0aca8e9428561ac547764c2a2b0f41adfc TERMUX_PKG_DEPENDS="openssl, libcrypt, readline, libandroid-shmem, libuuid, libxml2, libicu, zlib" # - pgac_cv_prog_cc_ldflags__Wl___as_needed: Inform that the linker supports as-needed. It's # not stricly necessary but avoids unnecessary linking of binaries. diff --git a/packages/postgresql/src-backend-commands-collationcmds.c.patch b/packages/postgresql/src-backend-commands-collationcmds.c.patch index e7a5dc0f2..a75455f1a 100644 --- a/packages/postgresql/src-backend-commands-collationcmds.c.patch +++ b/packages/postgresql/src-backend-commands-collationcmds.c.patch @@ -10,12 +10,3 @@ diff -uNr postgresql-13.1/src/backend/commands/collationcmds.c postgresql-13.1.m #define READ_LOCALE_A_OUTPUT #endif -@@ -464,7 +463,7 @@ - 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",