From 88e41712c49ff286311d25405cef068ffec07706 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sat, 11 Nov 2017 19:35:27 +0100 Subject: [PATCH] postgresql: Update from 10.0 to 10.1 --- packages/postgresql/build.sh | 4 ++-- .../src-timezone-zic.c.patch.beforehostbuild | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/postgresql/build.sh b/packages/postgresql/build.sh index 30c60bcd7..9d1154365 100644 --- a/packages/postgresql/build.sh +++ b/packages/postgresql/build.sh @@ -1,8 +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.0 -TERMUX_PKG_SHA256=712f5592e27b81c5b454df96b258c14d94b6b03836831e015c65d6deeae57fd1 +TERMUX_PKG_VERSION=10.1 +TERMUX_PKG_SHA256=3ccb4e25fe7a7ea6308dea103cac202963e6b746697366d72ec2900449a5e713 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" # - pgac_cv_prog_cc_ldflags__Wl___as_needed: Inform that the linker supports as-needed. It's diff --git a/packages/postgresql/src-timezone-zic.c.patch.beforehostbuild b/packages/postgresql/src-timezone-zic.c.patch.beforehostbuild index 68602227b..c9692fd48 100644 --- a/packages/postgresql/src-timezone-zic.c.patch.beforehostbuild +++ b/packages/postgresql/src-timezone-zic.c.patch.beforehostbuild @@ -1,7 +1,7 @@ -diff -u -r ../postgresql-9.6.2/src/timezone/zic.c ./src/timezone/zic.c ---- ../postgresql-9.6.2/src/timezone/zic.c 2017-02-06 22:45:25.000000000 +0100 -+++ ./src/timezone/zic.c 2017-03-08 01:51:31.199705267 +0100 -@@ -19,6 +19,12 @@ +diff -u -r ../postgresql-10.1/src/timezone/zic.c ./src/timezone/zic.c +--- ../postgresql-10.1/src/timezone/zic.c 2017-11-07 01:46:52.000000000 +0100 ++++ ./src/timezone/zic.c 2017-11-11 19:32:52.836782026 +0100 +@@ -17,6 +17,12 @@ #include "private.h" #include "tzfile.h" @@ -11,10 +11,10 @@ diff -u -r ../postgresql-9.6.2/src/timezone/zic.c ./src/timezone/zic.c + */ +#undef qsort + - #define ZIC_VERSION_PRE_2013 '2' - #define ZIC_VERSION '3' + #define ZIC_VERSION_PRE_2013 '2' + #define ZIC_VERSION '3' -@@ -881,8 +887,16 @@ +@@ -889,8 +895,16 @@ progname, directory, fromfield, strerror(EPERM)); exit(EXIT_FAILURE); }