summaryrefslogtreecommitdiffstats
path: root/dev-lang/php/files/php529-ds-odbc64.patch
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /dev-lang/php/files/php529-ds-odbc64.patch
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'dev-lang/php/files/php529-ds-odbc64.patch')
-rw-r--r--dev-lang/php/files/php529-ds-odbc64.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-lang/php/files/php529-ds-odbc64.patch b/dev-lang/php/files/php529-ds-odbc64.patch
new file mode 100644
index 0000000..249b948
--- /dev/null
+++ b/dev-lang/php/files/php529-ds-odbc64.patch
@@ -0,0 +1,16 @@
+diff -dPNur php-5.2.9/ext/pdo_odbc/php_pdo_odbc_int.h php-5.2.9-new/ext/pdo_odbc/php_pdo_odbc_int.h
+--- php-5.2.9/ext/pdo_odbc/php_pdo_odbc_int.h 2008-12-31 12:17:42.000000000 +0100
++++ php-5.2.9-new/ext/pdo_odbc/php_pdo_odbc_int.h 2009-06-15 01:35:47.000000000 +0200
+@@ -134,7 +134,11 @@
+ typedef struct {
+ char *data;
+ unsigned long datalen;
+- long fetched_len;
++#ifdef SQLLEN
++ SQLLEN fetched_len;
++#else
++ SQLINTEGER fetched_len;
++#endif
+ SWORD coltype;
+ char colname[128];
+ unsigned is_long;