rpms/php-extras/EL-4 php-extras-4.3.9-freetds.patch, NONE, 1.1 php-extras.spec, 1.16, 1.17

Dmitry Butskoy (buc) fedora-extras-commits at redhat.com
Wed Jun 18 17:20:05 UTC 2008


Author: buc

Update of /cvs/extras/rpms/php-extras/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1099

Modified Files:
	php-extras.spec 
Added Files:
	php-extras-4.3.9-freetds.patch 
Log Message:


php-extras-4.3.9-freetds.patch:

--- NEW FILE php-extras-4.3.9-freetds.patch ---
diff -Nrbu php-4.3.9/ext/mssql/config.m4 php-4.3.9-OK/ext/mssql/config.m4
--- php-4.3.9/ext/mssql/config.m4	2003-02-09 10:48:40.000000000 +0300
+++ php-4.3.9-OK/ext/mssql/config.m4	2008-06-18 21:17:24.000000000 +0400
@@ -32,8 +32,8 @@
     fi
   fi  
 
-  if test ! -r "$FREETDS_INSTALLATION_DIR/lib/libtds.a"; then
-     AC_MSG_ERROR(Could not find $FREETDS_INSTALLATION_DIR/lib/libtds.a)
+  if test ! -r "$FREETDS_INSTALLATION_DIR/lib/libtds.a" && test ! -r "$FREETDS_INSTALLATION_DIR/lib/libtds.so"; then
+     AC_MSG_ERROR(Could not find $FREETDS_INSTALLATION_DIR/lib/libtds.[a|so])
   fi
 
   MSSQL_INCDIR=$FREETDS_INSTALLATION_DIR/include


Index: php-extras.spec
===================================================================
RCS file: /cvs/extras/rpms/php-extras/EL-4/php-extras.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- php-extras.spec	18 Jun 2008 16:38:12 -0000	1.16
+++ php-extras.spec	18 Jun 2008 17:19:09 -0000	1.17
@@ -33,6 +33,7 @@
 BuildRequires: php-devel = %{version}, libtool
 Requires: php = %{version}
 Patch1: php-extras-4.3.11-readline.patch
+Patch2: php-extras-4.3.9-freetds.patch
 
 
 %description
@@ -135,6 +136,7 @@
 %prep
 %setup -q -n php-%{version}
 %patch1 -p1
+%patch2 -p1
 
 
 %build
@@ -281,3 +283,4 @@
   with extra modules by our own way...
 - add patch for readline configure
 - avoid using -rpath for linking
+- backport patch for freetds from 4.3.11




More information about the fedora-extras-commits mailing list