[Pkg-php-commits] [php/debian-experimental] Adapt sybase-alias.patch to 5.3.1
Ondřej Surý
ondrej at sury.org
Mon Jan 11 16:44:09 UTC 2010
---
debian/patches/sybase-alias.patch | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/debian/patches/sybase-alias.patch b/debian/patches/sybase-alias.patch
index 2bd57f4..f7eefcd 100644
--- a/debian/patches/sybase-alias.patch
+++ b/debian/patches/sybase-alias.patch
@@ -1,11 +1,9 @@
-Index: php/ext/mssql/php_mssql.c
-===================================================================
---- php.orig/ext/mssql/php_mssql.c
-+++ php/ext/mssql/php_mssql.c
-@@ -78,6 +78,38 @@ zend_function_entry mssql_functions[] =
- PHP_FE(mssql_execute, NULL)
- PHP_FE(mssql_free_statement, NULL)
- PHP_FE(mssql_guid_string, NULL)
+--- a/ext/mssql/php_mssql.c
++++ b/ext/mssql/php_mssql.c
+@@ -178,6 +178,38 @@ const zend_function_entry mssql_function
+ PHP_FE(mssql_execute, arginfo_mssql_execute)
+ PHP_FE(mssql_free_statement, arginfo_mssql_free_statement)
+ PHP_FE(mssql_guid_string, arginfo_mssql_guid_string)
+#if !defined(PHP_WIN32) && !defined(HAVE_SYBASE_CT)
+ PHP_FALIAS(sybase_connect, mssql_connect, NULL)
+ PHP_FALIAS(sybase_pconnect, mssql_pconnect, NULL)
@@ -40,4 +38,4 @@ Index: php/ext/mssql/php_mssql.c
+#endif
{NULL, NULL, NULL}
};
-
+ /* }}} */
--
1.6.3.3
More information about the Pkg-php-commits
mailing list