diff options
author | ale <ale@FreeBSD.org> | 2004-07-19 15:52:09 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2004-07-19 15:52:09 +0800 |
commit | 2254ed8c04c5cc5e536a5bba1ecf43b41b8b06c7 (patch) | |
tree | 54b9b2938ae7adff74616a58e875558aa9fe013a /databases | |
parent | c672b8ecc650f923ea7a8f014ffc52d8335d9ea9 (diff) | |
download | freebsd-ports-gnome-2254ed8c04c5cc5e536a5bba1ecf43b41b8b06c7.tar.gz freebsd-ports-gnome-2254ed8c04c5cc5e536a5bba1ecf43b41b8b06c7.tar.zst freebsd-ports-gnome-2254ed8c04c5cc5e536a5bba1ecf43b41b8b06c7.zip |
Add a new shared extension for PHP.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/php4-mssql/files/patch-php_mssql.c | 11 | ||||
-rw-r--r-- | databases/php4-mssql/files/patch-php_mssql.h | 13 |
3 files changed, 25 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 8a42e8d40269..409d7d239fb8 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -211,6 +211,7 @@ SUBDIR += php4-filepro SUBDIR += php4-interbase SUBDIR += php4-mssql + SUBDIR += php4-mysql SUBDIR += phpmyadmin SUBDIR += phppgadmin SUBDIR += postgis diff --git a/databases/php4-mssql/files/patch-php_mssql.c b/databases/php4-mssql/files/patch-php_mssql.c new file mode 100644 index 000000000000..72c51cd91f7b --- /dev/null +++ b/databases/php4-mssql/files/patch-php_mssql.c @@ -0,0 +1,11 @@ +--- php_mssql.c.orig Wed Apr 21 01:31:39 2004 ++++ php_mssql.c Tue Jun 8 15:19:55 2004 +@@ -336,7 +336,7 @@ + dbsetlogintime(MS_SQL_G(connect_timeout)); + if (MS_SQL_G(timeout) < 0) MS_SQL_G(timeout) = 60; + dbsettime(MS_SQL_G(timeout)); +- dbsetmaxprocs((SHORT)MS_SQL_G(max_procs)); ++ dbsetmaxprocs((TDS_SHORT)MS_SQL_G(max_procs)); + + return SUCCESS; + } diff --git a/databases/php4-mssql/files/patch-php_mssql.h b/databases/php4-mssql/files/patch-php_mssql.h new file mode 100644 index 000000000000..920626150810 --- /dev/null +++ b/databases/php4-mssql/files/patch-php_mssql.h @@ -0,0 +1,13 @@ +--- php_mssql.h.orig Tue Jun 8 11:24:27 2004 ++++ php_mssql.h Tue Jun 8 11:23:39 2004 +@@ -37,9 +37,7 @@ + #include "sqldb.h" + + #if HAVE_FREETDS +-#ifndef SHORT +-typedef short SHORT; +-#endif ++typedef short TDS_SHORT; + #define SQLTEXT SYBTEXT + #define SQLCHAR SYBCHAR + #define SQLVARCHAR SYBVARCHAR |