svn commit: r324634 - head/databases/php5-pdo_dblib/files

Alex Dupre ale at FreeBSD.org
Mon Aug 12 14:56:19 UTC 2013


Author: ale
Date: Mon Aug 12 14:56:18 2013
New Revision: 324634
URL: http://svnweb.freebsd.org/changeset/ports/324634

Log:
  Rework patch to be similar to php 5.5.

Modified:
  head/databases/php5-pdo_dblib/files/patch-dblib_driver.c

Modified: head/databases/php5-pdo_dblib/files/patch-dblib_driver.c
==============================================================================
--- head/databases/php5-pdo_dblib/files/patch-dblib_driver.c	Mon Aug 12 14:45:23 2013	(r324633)
+++ head/databases/php5-pdo_dblib/files/patch-dblib_driver.c	Mon Aug 12 14:56:18 2013	(r324634)
@@ -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 */
  		


More information about the svn-ports-head mailing list