diff options
author | is <is> | 2016-08-14 16:56:29 +0000 |
---|---|---|
committer | is <is> | 2016-08-14 16:56:29 +0000 |
commit | 58972f74b5635af7793ce01ba132e6fa2938f9ca (patch) | |
tree | ef705cd185568344d1f1d251ea04249d130132c6 /databases/postgresql94 | |
parent | f60cf5e04bc36e1963e4e84f68a622ddbfff2364 (diff) | |
download | pkgsrc-58972f74b5635af7793ce01ba132e6fa2938f9ca.tar.gz |
Update postgresql94 & related to PostGreSQL 9.4.9
Diffstat (limited to 'databases/postgresql94')
-rw-r--r-- | databases/postgresql94/Makefile | 4 | ||||
-rw-r--r-- | databases/postgresql94/Makefile.common | 4 | ||||
-rw-r--r-- | databases/postgresql94/distinfo | 16 | ||||
-rw-r--r-- | databases/postgresql94/patches/patch-src_timezone_localtime.c | 38 | ||||
-rw-r--r-- | databases/postgresql94/patches/patch-src_timezone_private.h | 15 | ||||
-rw-r--r-- | databases/postgresql94/patches/patch-src_timezone_strftime.c | 8 | ||||
-rw-r--r-- | databases/postgresql94/patches/patch-src_timezone_zic.c | 78 |
7 files changed, 25 insertions, 138 deletions
diff --git a/databases/postgresql94/Makefile b/databases/postgresql94/Makefile index 46d1aa34e90..98ae1ee355f 100644 --- a/databases/postgresql94/Makefile +++ b/databases/postgresql94/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.6 2016/07/09 06:38:02 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2016/08/14 16:56:29 is Exp $ PKGNAME= ${DISTNAME:C/-/94-/} -PKGREVISION= 1 +PKGREVISION= # COMMENT= Robust, next generation, object-relational DBMS DEPENDS+= postgresql94-client>=${PKGVERSION_NOREV}:../../databases/postgresql94-client diff --git a/databases/postgresql94/Makefile.common b/databases/postgresql94/Makefile.common index 3539fe6c166..ba8b4431d4e 100644 --- a/databases/postgresql94/Makefile.common +++ b/databases/postgresql94/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.12 2016/06/19 21:09:56 fhajny Exp $ +# $NetBSD: Makefile.common,v 1.13 2016/08/14 16:56:29 is Exp $ # # This Makefile fragment is included by all PostgreSQL packages built from # the main sources of the PostgreSQL distribution except jdbc-postgresql. @@ -16,7 +16,7 @@ # used by databases/postgresql94-pltcl/Makefile # used by databases/postgresql94-server/Makefile -DISTNAME= postgresql-9.4.8 +DISTNAME= postgresql-9.4.9 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/} EXTRACT_SUFX= .tar.bz2 diff --git a/databases/postgresql94/distinfo b/databases/postgresql94/distinfo index a81adac94a2..5b0796ed22b 100644 --- a/databases/postgresql94/distinfo +++ b/databases/postgresql94/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.11 2016/05/23 14:27:35 adam Exp $ +$NetBSD: distinfo,v 1.12 2016/08/14 16:56:29 is Exp $ -SHA1 (postgresql-9.4.8.tar.bz2) = 4e119e2667c8c4c3b35544dfefd7a4d9aaac3eef -RMD160 (postgresql-9.4.8.tar.bz2) = 4fff9db57db1fed43250ad28a32c5dd7abf790a9 -SHA512 (postgresql-9.4.8.tar.bz2) = d1cc8a02ed7eb0af365479cee43b3cd33fade69e07eb82343cd562efda5a460e405836e1fb2492a8cb22a71d14038216868cb48694400b3c31a56c4aee0bcac4 -Size (postgresql-9.4.8.tar.bz2) = 17740626 bytes +SHA1 (postgresql-9.4.9.tar.bz2) = a8e6130576ff7b8876e71497f18cdfeb89bb6fc0 +RMD160 (postgresql-9.4.9.tar.bz2) = e217f7fd127c82aa8afa52b1b167188fc1b4d585 +SHA512 (postgresql-9.4.9.tar.bz2) = 980b1a8828d07151e67793367ea0ee08e4231cd76d9b20b4f4bca08a7976ee82a3aea51ce801a4107680c8203f8ebdb4cf5a0a6aaf93d580c9f337658d50819b +Size (postgresql-9.4.9.tar.bz2) = 17763281 bytes SHA1 (patch-config_missing) = c2d7d742922ba6861e7660c75b7b53f09e564813 SHA1 (patch-config_perl.m4) = e035132b1c281a75752d570ac5e29a11176c25c5 SHA1 (patch-configure) = 59fe9a768caf8a5d308acac60c28bc6bb2c40632 @@ -18,7 +18,5 @@ SHA1 (patch-src_interfaces_libpq_Makefile) = 0066301bc8b31b9e26c79153427537bc386 SHA1 (patch-src_makefiles_Makefile.solaris) = 0168f5bc105ffc89d5db40907a08966d8465f5a0 SHA1 (patch-src_pl_plperl_GNUmakefile) = 6ee3e431f46ce5c2a94df499504b2b8bd458bbef SHA1 (patch-src_pl_plperl_plperl.h) = bd663fa80a47f7b82ce689060750fa6e631fbc61 -SHA1 (patch-src_timezone_localtime.c) = 622f57bc1d10f07ab73f86765cbf587eece57085 -SHA1 (patch-src_timezone_private.h) = 85dac95e40efc16270885087f868aeb76e1b9214 -SHA1 (patch-src_timezone_strftime.c) = 25102dce1b9b22385353af23500636fb18e3bf64 -SHA1 (patch-src_timezone_zic.c) = ed04d781845239ce5dc7c6fca406ce62c10a9605 +SHA1 (patch-src_timezone_localtime.c) = 9b5748ef94b11b8798121ac85d2bb18cb99b3812 +SHA1 (patch-src_timezone_strftime.c) = f1f37e424dd70c0b2ad905ef491f9d9574bd3266 diff --git a/databases/postgresql94/patches/patch-src_timezone_localtime.c b/databases/postgresql94/patches/patch-src_timezone_localtime.c index fc627cd9d2d..05e08e875d7 100644 --- a/databases/postgresql94/patches/patch-src_timezone_localtime.c +++ b/databases/postgresql94/patches/patch-src_timezone_localtime.c @@ -1,31 +1,13 @@ -$NetBSD: patch-src_timezone_localtime.c,v 1.1 2015/01/14 21:01:18 adam Exp $ +$NetBSD: patch-src_timezone_localtime.c,v 1.2 2016/08/14 16:56:29 is Exp $ ---- src/timezone/localtime.c.orig 2009-06-11 16:49:15.000000000 +0200 +--- src/timezone/localtime.c.orig 2016-08-08 20:29:39.000000000 +0000 +++ src/timezone/localtime.c -@@ -81,20 +81,20 @@ static pg_time_t detzcode64(const char * - static int differ_by_repeat(pg_time_t t1, pg_time_t t0); - static const char *getzname(const char *strp); - static const char *getqzname(const char *strp, int delim); --static const char *getnum(const char *strp, int *nump, int min, int max); -+static const char *getnum(const char *strp, int *nump, const int min, const int max); - static const char *getsecs(const char *strp, long *secsp); - static const char *getoffset(const char *strp, long *offsetp); - static const char *getrule(const char *strp, struct rule * rulep); - static void gmtload(struct state * sp); --static struct pg_tm *gmtsub(const pg_time_t *timep, long offset, -+static struct pg_tm *gmtsub(const pg_time_t *timep, const long offset, - struct pg_tm * tmp); --static struct pg_tm *localsub(const pg_time_t *timep, long offset, -+static struct pg_tm *localsub(const pg_time_t *timep, const long offset, - struct pg_tm * tmp, const pg_tz *tz); - static int increment_overflow(int *number, int delta); --static pg_time_t transtime(pg_time_t janfirst, int year, -- const struct rule * rulep, long offset); -+static pg_time_t transtime(pg_time_t janfirst, const int year, -+ const struct rule * rulep, const long offset); - static int typesequiv(const struct state * sp, int a, int b); --static struct pg_tm *timesub(const pg_time_t *timep, long offset, -+static struct pg_tm *timesub(const pg_time_t *timep, const long offset, - const struct state * sp, struct pg_tm * tmp); +@@ -84,7 +84,7 @@ struct rule + * Prototypes for static functions. + */ - /* GMT timezone */ +-static struct pg_tm *gmtsub(pg_time_t const *, int32, struct pg_tm *); ++static struct pg_tm *gmtsub(pg_time_t const *, const int32, struct pg_tm *); + static bool increment_overflow(int *, int); + static bool increment_overflow_time(pg_time_t *, int32); + static struct pg_tm *timesub(pg_time_t const *, int32, struct state const *, diff --git a/databases/postgresql94/patches/patch-src_timezone_private.h b/databases/postgresql94/patches/patch-src_timezone_private.h deleted file mode 100644 index 0bccc131f20..00000000000 --- a/databases/postgresql94/patches/patch-src_timezone_private.h +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-src_timezone_private.h,v 1.1 2015/01/14 21:01:18 adam Exp $ - ---- src/timezone/private.h.orig 2009-06-11 16:49:15.000000000 +0200 -+++ src/timezone/private.h -@@ -51,8 +51,8 @@ extern int unlink(const char *filename); - extern char *icalloc(int nelem, int elsize); - extern char *icatalloc(char *old, const char *new); - extern char *icpyalloc(const char *string); --extern char *imalloc(int n); --extern void *irealloc(void *pointer, int size); -+extern char *imalloc(const int n); -+extern void *irealloc(void *pointer, const int size); - extern void icfree(char *pointer); - extern void ifree(char *pointer); - extern const char *scheck(const char *string, const char *format); diff --git a/databases/postgresql94/patches/patch-src_timezone_strftime.c b/databases/postgresql94/patches/patch-src_timezone_strftime.c index 2cb1a503ac1..e121af05701 100644 --- a/databases/postgresql94/patches/patch-src_timezone_strftime.c +++ b/databases/postgresql94/patches/patch-src_timezone_strftime.c @@ -1,8 +1,8 @@ -$NetBSD: patch-src_timezone_strftime.c,v 1.1 2015/01/14 21:01:18 adam Exp $ +$NetBSD: patch-src_timezone_strftime.c,v 1.2 2016/08/14 16:56:29 is Exp $ ---- src/timezone/strftime.c.orig 2009-06-11 16:49:15.000000000 +0200 +--- src/timezone/strftime.c.orig 2016-08-08 20:29:39.000000000 +0000 +++ src/timezone/strftime.c -@@ -89,7 +89,7 @@ static const struct lc_time_T C_time_loc +@@ -109,7 +109,7 @@ static const struct lc_time_T C_time_loc }; static char *_add(const char *, char *, const char *); @@ -10,4 +10,4 @@ $NetBSD: patch-src_timezone_strftime.c,v 1.1 2015/01/14 21:01:18 adam Exp $ +static char *_conv(const int, const char *, char *, const char *); static char *_fmt(const char *, const struct pg_tm *, char *, const char *, int *); - static char *_yconv(const int, const int, const int, const int, + static char *_yconv(int, int, bool, bool, char *, const char *); diff --git a/databases/postgresql94/patches/patch-src_timezone_zic.c b/databases/postgresql94/patches/patch-src_timezone_zic.c deleted file mode 100644 index 1f6af7f4c09..00000000000 --- a/databases/postgresql94/patches/patch-src_timezone_zic.c +++ /dev/null @@ -1,78 +0,0 @@ -$NetBSD: patch-src_timezone_zic.c,v 1.1 2015/01/14 21:01:18 adam Exp $ - ---- src/timezone/zic.c.orig 2010-03-16 07:17:04.000000000 +0000 -+++ src/timezone/zic.c -@@ -121,51 +121,51 @@ struct zone - - extern int link(const char *fromname, const char *toname); - static void addtt(const pg_time_t starttime, int type); --static int addtype(long gmtoff, const char *abbr, int isdst, -- int ttisstd, int ttisgmt); --static void leapadd(const pg_time_t t, int positive, int rolling, int count); -+static int addtype(const long gmtoff, const char *abbr, const int isdst, -+ const int ttisstd, const int ttisgmt); -+static void leapadd(const pg_time_t t, const int positive, const int rolling, int count); - static void adjleap(void); - static void associate(void); - static int ciequal(const char *ap, const char *bp); --static void convert(long val, char *buf); -+static void convert(const long val, char *buf); - static void dolink(const char *fromfile, const char *tofile); - static void doabbr(char *abbr, const char *format, -- const char *letters, int isdst, int doquotes); --static void eat(const char *name, int num); --static void eats(const char *name, int num, -- const char *rname, int rnum); --static long eitol(int i); -+ const char *letters, const int isdst, int doquotes); -+static void eat(const char *name, const int num); -+static void eats(const char *name, const int num, -+ const char *rname, const int rnum); -+static long eitol(const int i); - static void error(const char *message); - static char **getfields(char *buf); - static long gethms(const char *string, const char *errstrng, -- int signable); -+ const int signable); - static void infile(const char *filename); --static void inleap(char **fields, int nfields); --static void inlink(char **fields, int nfields); --static void inrule(char **fields, int nfields); --static int inzcont(char **fields, int nfields); --static int inzone(char **fields, int nfields); --static int inzsub(char **fields, int nfields, int iscont); -+static void inleap(char **fields, const int nfields); -+static void inlink(char **fields, const int nfields); -+static void inrule(char **fields, const int nfields); -+static int inzcont(char **fields, const int nfields); -+static int inzone(char **fields, const int nfields); -+static int inzsub(char **fields, const int nfields, const int iscont); - static int itsabbr(const char *abbr, const char *word); - static int itsdir(const char *name); - static int lowerit(int c); - static char *memcheck(char *tocheck); - static int mkdirs(char *filename); - static void newabbr(const char *abbr); --static long oadd(long t1, long t2); --static void outzone(const struct zone * zp, int ntzones); --static void puttzcode(long code, FILE *fp); -+static long oadd(const long t1, const long t2); -+static void outzone(const struct zone * zp, const int ntzones); -+static void puttzcode(const long code, FILE *fp); - static int rcomp(const void *leftp, const void *rightp); --static pg_time_t rpytime(const struct rule * rp, int wantedy); -+static pg_time_t rpytime(const struct rule * rp, const int wantedy); - static void rulesub(struct rule * rp, - const char *loyearp, const char *hiyearp, - const char *typep, const char *monthp, - const char *dayp, const char *timep); - static void setboundaries(void); --static pg_time_t tadd(const pg_time_t t1, long t2); -+static pg_time_t tadd(const pg_time_t t1, const long t2); - static void usage(FILE *stream, int status); - static void writezone(const char *name, const char *string); --static int yearistype(int year, const char *type); -+static int yearistype(const int year, const char *type); - - static int charcnt; - static int errors; |