postgresql: Update from 10.0 to 10.1

This commit is contained in:
Fredrik Fornwall 2017-11-11 19:35:27 +01:00
parent 315750fe88
commit 76f2c90bf4
2 changed files with 9 additions and 9 deletions

View File

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

View File

@ -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);
}