aboutsummaryrefslogtreecommitdiff
path: root/databases/php5-sybase_ct
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2005-12-12 22:08:26 +0000
committerAlex Dupre <ale@FreeBSD.org>2005-12-12 22:08:26 +0000
commit918085128b4f3edbdfa6b19ed0afe0f516aaaedf (patch)
tree79c3471466b9a84f57a30f668e043b7c2267df0d /databases/php5-sybase_ct
parent68fb7a4bed1e4add01abf8f5051dbbcf0f749f08 (diff)
downloadports-918085128b4f3edbdfa6b19ed0afe0f516aaaedf.tar.gz
ports-918085128b4f3edbdfa6b19ed0afe0f516aaaedf.zip
Fix build on 4.X.
Reported by: pointyhat via kris
Notes
Notes: svn path=/head/; revision=151063
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) {