aboutsummaryrefslogtreecommitdiffstats
path: root/databases/php5-pdo_dblib/files
diff options
context:
space:
mode:
Diffstat (limited to 'databases/php5-pdo_dblib/files')
-rw-r--r--databases/php5-pdo_dblib/files/patch-dblib_driver.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/databases/php5-pdo_dblib/files/patch-dblib_driver.c b/databases/php5-pdo_dblib/files/patch-dblib_driver.c
index a167784e9067..6c838159288b 100644
--- a/databases/php5-pdo_dblib/files/patch-dblib_driver.c
+++ b/databases/php5-pdo_dblib/files/patch-dblib_driver.c
@@ -1,15 +1,16 @@
---- dblib_driver.c.orig 2013-06-24 15:17:35.000000000 +0200
-+++ dblib_driver.c 2013-06-24 15:20:43.000000000 +0200
-@@ -274,9 +274,9 @@
+--- dblib_driver.c.orig 2013-08-12 16:49:42.000000000 +0200
++++ dblib_driver.c 2013-08-12 16:50:11.000000000 +0200
+@@ -274,9 +274,13 @@
,{"5.0",DBVERSION_70} /* FIXME: This does not work with Sybase, but environ will */
,{"6.0",DBVERSION_70}
,{"7.0",DBVERSION_70}
-- ,{"7.1",DBVERSION_71}
-- ,{"7.2",DBVERSION_72}
-- ,{"8.0",DBVERSION_72}
-+ ,{"7.1",DBVERSION_80}
-+ ,{"7.2",DBVERSION_80}
-+ ,{"8.0",DBVERSION_80}
++#ifdef DBVERSION_71
+ ,{"7.1",DBVERSION_71}
++#endif
++#ifdef DBVERSION_72
+ ,{"7.2",DBVERSION_72}
+ ,{"8.0",DBVERSION_72}
++#endif
,{"10.0",DBVERSION_100}
,{"auto",0} /* Only works with FreeTDS. Other drivers will bork */