aboutsummaryrefslogtreecommitdiffstats
path: root/databases/php5-pdo_dblib/files
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2013-08-12 22:56:18 +0800
committerale <ale@FreeBSD.org>2013-08-12 22:56:18 +0800
commitc5ca8f39119eb4d3ecbe4f968659c13de0f532e3 (patch)
tree8fd4e449fc2b5f458f244202d747b412d1cfeaeb /databases/php5-pdo_dblib/files
parented56b2a4c3d977318968ab239e0c5e8cf2b0732b (diff)
downloadfreebsd-ports-gnome-c5ca8f39119eb4d3ecbe4f968659c13de0f532e3.tar.gz
freebsd-ports-gnome-c5ca8f39119eb4d3ecbe4f968659c13de0f532e3.tar.zst
freebsd-ports-gnome-c5ca8f39119eb4d3ecbe4f968659c13de0f532e3.zip
Rework patch to be similar to php 5.5.
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 */