From c5ca8f39119eb4d3ecbe4f968659c13de0f532e3 Mon Sep 17 00:00:00 2001 From: ale Date: Mon, 12 Aug 2013 14:56:18 +0000 Subject: Rework patch to be similar to php 5.5. --- databases/php5-pdo_dblib/files/patch-dblib_driver.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'databases/php5-pdo_dblib/files') 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 */ -- cgit