postgresql: update to 14.1 (#7995)

* Update build.sh

* postgresql
This commit is contained in:
Arun 2021-11-19 16:17:32 +05:30 committed by GitHub
parent 63d13157b7
commit febe905dee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 12 deletions

View File

@ -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.

View File

@ -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