diff options
author | Rene Ladan <rene@FreeBSD.org> | 2014-03-01 00:06:29 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2014-03-01 00:06:29 +0000 |
commit | ef50dbb213487797f1a2d9f4d0d5636f98bb3894 (patch) | |
tree | a82aa9cd34a90c5daecd9ec479f5a85b36141796 /databases/php52-pgsql/files/patch-pgsql.c | |
parent | - Fix build with clang (diff) |
PHP 5.2 has reached it end-of-life in the FreeBSD Ports Tree, time
to say goodbye. Upstream unsupported it since 2011-01-06 (see
http://php.net/eol.php )
Strip PHP 5.2 out of Mk/bsd.php.mk
Notes
Notes:
svn path=/head/; revision=346583
Diffstat (limited to 'databases/php52-pgsql/files/patch-pgsql.c')
-rw-r--r-- | databases/php52-pgsql/files/patch-pgsql.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/databases/php52-pgsql/files/patch-pgsql.c b/databases/php52-pgsql/files/patch-pgsql.c deleted file mode 100644 index 8431926386dc..000000000000 --- a/databases/php52-pgsql/files/patch-pgsql.c +++ /dev/null @@ -1,30 +0,0 @@ ---- ext/pgsql/pgsql.c.orig 2007-10-04 01:31:58.000000000 +0200 -+++ ext/pgsql/pgsql.c 2008-01-29 11:10:15.000000000 +0100 -@@ -62,6 +62,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}; \ -@@ -71,7 +72,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) -@@ -272,7 +275,7 @@ - static int le_link, le_plink, le_result, le_lofp, le_string; - - /* {{{ _php_pgsql_trim_message */ --static char * _php_pgsql_trim_message(const char *message, int *len) -+static char * _php_pgsql_trim_message(const char *message, size_t *len) - { - register int i = strlen(message)-1; - |