diff options
author | ale <ale@FreeBSD.org> | 2013-09-27 22:12:51 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2013-09-27 22:12:51 +0800 |
commit | f1b2caf175bd03e29ddec700b32ca0d2bd704481 (patch) | |
tree | 22d0280d65be54a80f32f92124d09f1e2c242e2c /databases | |
parent | 31a7c36788c9d5776059fa7a36135b1963d9e6d8 (diff) | |
download | freebsd-ports-gnome-f1b2caf175bd03e29ddec700b32ca0d2bd704481.tar.gz freebsd-ports-gnome-f1b2caf175bd03e29ddec700b32ca0d2bd704481.tar.zst freebsd-ports-gnome-f1b2caf175bd03e29ddec700b32ca0d2bd704481.zip |
Update to 5.4.20 release.
PR: ports/182292
Submitted by: Rustem Alimov <rustem.alimov@gmail.com>
Diffstat (limited to 'databases')
-rw-r--r-- | databases/php5-pgsql/files/patch-pgsql.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/databases/php5-pgsql/files/patch-pgsql.c b/databases/php5-pgsql/files/patch-pgsql.c index a4abfc39dff3..667bb89ded7c 100644 --- a/databases/php5-pgsql/files/patch-pgsql.c +++ b/databases/php5-pgsql/files/patch-pgsql.c @@ -1,24 +1,5 @@ --- pgsql.c.orig 2010-01-03 10:23:27.000000000 +0100 +++ pgsql.c 2010-03-08 11:00:26.000000000 +0100 -@@ -63,6 +63,7 @@ - #define PGSQL_MAX_LENGTH_OF_LONG 30 - #define PGSQL_MAX_LENGTH_OF_DOUBLE 60 - -+#if UINT_MAX > LONG_MAX - #define PGSQL_RETURN_OID(oid) do { \ - if (oid > LONG_MAX) { \ - smart_str s = {0}; \ -@@ -72,7 +73,9 @@ - } \ - RETURN_LONG((long)oid); \ - } while(0) -- -+#else -+#define PGSQL_RETURN_OID(oid) RETURN_LONG((long)oid) -+#endif - - #if HAVE_PQSETNONBLOCKING - #define PQ_SETNONBLOCKING(pg_link, flag) PQsetnonblocking(pg_link, flag) @@ -728,7 +731,7 @@ static int le_link, le_plink, le_result, le_lofp, le_string; |