X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/7fc9693f2d24e3f763903601adc26e17b970a49b..36f928ac3ee92d234f3ffc42e2c1f22db614ac55:/packages/postgresql/src-timezone-zic.c.patch.beforehostbuild diff --git a/packages/postgresql/src-timezone-zic.c.patch.beforehostbuild b/packages/postgresql/src-timezone-zic.c.patch.beforehostbuild index 68602227..c9692fd4 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); }