aboutsummaryrefslogtreecommitdiffstats
path: root/databases/php5-sybase_ct
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2005-12-13 06:08:26 +0800
committerale <ale@FreeBSD.org>2005-12-13 06:08:26 +0800
commitb2de0422caf2b93f584fc3d280d9745af948bfb6 (patch)
tree99cb6046443e6f71186fd3deac6b2b47b6c416db /databases/php5-sybase_ct
parentc2db4d76766baa6225a2b02d99d42c1f25bf05e1 (diff)
downloadfreebsd-ports-gnome-b2de0422caf2b93f584fc3d280d9745af948bfb6.tar.gz
freebsd-ports-gnome-b2de0422caf2b93f584fc3d280d9745af948bfb6.tar.zst
freebsd-ports-gnome-b2de0422caf2b93f584fc3d280d9745af948bfb6.zip
Fix build on 4.X.
Reported by: pointyhat via kris
Diffstat (limited to 'databases/php5-sybase_ct')
-rw-r--r--databases/php5-sybase_ct/files/patch-php_sybase_ct.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/databases/php5-sybase_ct/files/patch-php_sybase_ct.c b/databases/php5-sybase_ct/files/patch-php_sybase_ct.c
new file mode 100644
index 000000000000..612af257d4e2
--- /dev/null
+++ b/databases/php5-sybase_ct/files/patch-php_sybase_ct.c
@@ -0,0 +1,12 @@
+--- php_sybase_ct.c.orig Mon Dec 12 23:04:09 2005
++++ php_sybase_ct.c Mon Dec 12 23:05:24 2005
+@@ -467,8 +467,8 @@
+ static int php_sybase_do_connect_internal(sybase_link *sybase, char *host, char *user, char *passwd, char *charset, char *appname)
+ {
+ CS_LOCALE *tmp_locale;
+- TSRMLS_FETCH();
+ long packetsize;
++ TSRMLS_FETCH();
+
+ /* set a CS_CONNECTION record */
+ if (ct_con_alloc(SybCtG(context), &sybase->connection)!=CS_SUCCEED) {