postgresql: Update from 10.5 to 11.0

This commit is contained in:
Fredrik Fornwall 2018-10-18 20:18:49 +02:00
parent 62e0929a4d
commit 8c079e7dc0
2 changed files with 12 additions and 13 deletions

View File

@ -1,9 +1,8 @@
TERMUX_PKG_HOMEPAGE=https://www.postgresql.org
TERMUX_PKG_DESCRIPTION="Object-relational SQL database"
TERMUX_PKG_MAINTAINER='Vishal Biswas @vishalbiswas'
TERMUX_PKG_VERSION=10.5
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=6c8e616c91a45142b85c0aeb1f29ebba4a361309e86469e0fb4617b6a73c4011
TERMUX_PKG_VERSION=11.0
TERMUX_PKG_SHA256=bf9bba03d0c3902c188af12e454b35343c4a9bf9e377ec2fe50132efb44ef36b
TERMUX_PKG_SRCURL=https://ftp.postgresql.org/pub/source/v$TERMUX_PKG_VERSION/postgresql-$TERMUX_PKG_VERSION.tar.bz2
TERMUX_PKG_DEPENDS="openssl, libcrypt, readline, libandroid-shmem, libuuid, libxml2"
# - pgac_cv_prog_cc_ldflags__Wl___as_needed: Inform that the linker supports as-needed. It's

View File

@ -1,14 +1,14 @@
diff -u -r ../postgresql-10.0/src/bin/initdb/initdb.c ./src/bin/initdb/initdb.c
--- ../postgresql-10.0/src/bin/initdb/initdb.c 2017-10-02 23:09:15.000000000 +0200
+++ ./src/bin/initdb/initdb.c 2017-10-06 21:45:24.088346650 +0200
@@ -119,8 +119,8 @@
diff -u -r ../postgresql-11.0/src/bin/initdb/initdb.c ./src/bin/initdb/initdb.c
--- ../postgresql-11.0/src/bin/initdb/initdb.c 2018-10-15 21:12:02.000000000 +0000
+++ ./src/bin/initdb/initdb.c 2018-10-18 17:54:16.149615230 +0000
@@ -120,8 +120,8 @@
/* values to be obtained from arguments */
static char *pg_data = "";
-static char *encoding = "";
-static char *locale = "";
static char *pg_data = NULL;
-static char *encoding = NULL;
-static char *locale = NULL;
+static char *encoding = "UTF-8";
+static char *locale = "en_US.UTF-8";
static char *lc_collate = "";
static char *lc_ctype = "";
static char *lc_monetary = "";
static char *lc_collate = NULL;
static char *lc_ctype = NULL;
static char *lc_monetary = NULL;