Browse Source

postgresql: Update from 10.0 to 10.1

android-5
Fredrik Fornwall 7 years ago
parent
commit
88e41712c4
  1. 4
      packages/postgresql/build.sh
  2. 10
      packages/postgresql/src-timezone-zic.c.patch.beforehostbuild

4
packages/postgresql/build.sh

@ -1,8 +1,8 @@
TERMUX_PKG_HOMEPAGE=https://www.postgresql.org TERMUX_PKG_HOMEPAGE=https://www.postgresql.org
TERMUX_PKG_DESCRIPTION="Object-relational SQL database" TERMUX_PKG_DESCRIPTION="Object-relational SQL database"
TERMUX_PKG_MAINTAINER='Vishal Biswas @vishalbiswas' TERMUX_PKG_MAINTAINER='Vishal Biswas @vishalbiswas'
TERMUX_PKG_VERSION=10.0 TERMUX_PKG_VERSION=10.1
TERMUX_PKG_SHA256=712f5592e27b81c5b454df96b258c14d94b6b03836831e015c65d6deeae57fd1 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_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" 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 # - pgac_cv_prog_cc_ldflags__Wl___as_needed: Inform that the linker supports as-needed. It's

10
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 diff -u -r ../postgresql-10.1/src/timezone/zic.c ./src/timezone/zic.c
--- ../postgresql-9.6.2/src/timezone/zic.c 2017-02-06 22:45:25.000000000 +0100 --- ../postgresql-10.1/src/timezone/zic.c 2017-11-07 01:46:52.000000000 +0100
+++ ./src/timezone/zic.c 2017-03-08 01:51:31.199705267 +0100 +++ ./src/timezone/zic.c 2017-11-11 19:32:52.836782026 +0100
@@ -19,6 +19,12 @@ @@ -17,6 +17,12 @@
#include "private.h" #include "private.h"
#include "tzfile.h" #include "tzfile.h"
@ -14,7 +14,7 @@ diff -u -r ../postgresql-9.6.2/src/timezone/zic.c ./src/timezone/zic.c
#define ZIC_VERSION_PRE_2013 '2' #define ZIC_VERSION_PRE_2013 '2'
#define ZIC_VERSION '3' #define ZIC_VERSION '3'
@@ -881,8 +887,16 @@ @@ -889,8 +895,16 @@
progname, directory, fromfield, strerror(EPERM)); progname, directory, fromfield, strerror(EPERM));
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }

Loading…
Cancel
Save