From febe905dee1b9021d1236b781431f1dd10f50aa6 Mon Sep 17 00:00:00 2001 From: Arun Date: Fri, 19 Nov 2021 16:17:32 +0530 Subject: [PATCH] postgresql: update to 14.1 (#7995) * Update build.sh * postgresql --- packages/postgresql/build.sh | 5 ++--- packages/postgresql/fix-hardcoded-paths.patch | 9 --------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/packages/postgresql/build.sh b/packages/postgresql/build.sh index 6be9f8630..785d499ae 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.3 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION=14.1 TERMUX_PKG_SRCURL=https://ftp.postgresql.org/pub/source/v$TERMUX_PKG_VERSION/postgresql-$TERMUX_PKG_VERSION.tar.bz2 -TERMUX_PKG_SHA256=3cd9454fa8c7a6255b6743b767700925ead1b9ab0d7a0f9dcb1151010f8eb4a1 +TERMUX_PKG_SHA256=4d3c101ea7ae38982f06bdc73758b53727fb6402ecd9382006fa5ecc7c2ca41f 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/fix-hardcoded-paths.patch b/packages/postgresql/fix-hardcoded-paths.patch index 4e4bf7207..7635e9b3f 100644 --- a/packages/postgresql/fix-hardcoded-paths.patch +++ b/packages/postgresql/fix-hardcoded-paths.patch @@ -51,15 +51,6 @@ write_stderr(_("%s: could not start server: %s\n"), --- ./src/bin/pg_upgrade/check.c 2021-05-11 02:11:42.000000000 +0530 +++ ./src/bin/pg_upgrade/check.c.mod 2021-06-17 12:21:44.835155788 +0530 -@@ -471,7 +471,7 @@ - - #ifndef WIN32 - /* add shebang header */ -- fprintf(script, "#!/bin/sh\n\n"); -+ fprintf(script, "#!@TERMUX_PREFIX@/bin/sh\n\n"); - #else - /* suppress command echoing */ - fprintf(script, "@echo off\n"); @@ -630,7 +630,7 @@ #ifndef WIN32