summaryrefslogtreecommitdiff
path: root/databases/php4-mssql/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'databases/php4-mssql/patches/patch-aa')
-rw-r--r--databases/php4-mssql/patches/patch-aa29
1 files changed, 29 insertions, 0 deletions
diff --git a/databases/php4-mssql/patches/patch-aa b/databases/php4-mssql/patches/patch-aa
new file mode 100644
index 00000000000..1e667e2a970
--- /dev/null
+++ b/databases/php4-mssql/patches/patch-aa
@@ -0,0 +1,29 @@
+$NetBSD: patch-aa,v 1.1 2004/07/14 08:03:16 jdolecek Exp $
+
+===================================================================
+RCS file: /repository/php-src/ext/mssql/php_mssql.h,v
+retrieving revision 1.23.4.10
+retrieving revision 1.23.4.11
+diff -p --unified=3 -r1.23.4.10 -r1.23.4.11
+--- php_mssql.h 2004/04/20 23:37:26 1.23.4.10
++++ php_mssql.h 2004/06/04 01:02:21 1.23.4.11
+@@ -17,7 +17,7 @@
+ */
+
+
+-/* $Id: patch-aa,v 1.1 2004/07/14 08:03:16 jdolecek Exp $ */
++/* $Id: patch-aa,v 1.1 2004/07/14 08:03:16 jdolecek Exp $ */
+
+ #ifndef PHP_MSSQL_H
+ #define PHP_MSSQL_H
+@@ -37,9 +37,7 @@
+ #include "sqldb.h"
+
+ #if HAVE_FREETDS
+-#ifndef SHORT
+-typedef short SHORT;
+-#endif
++typedef short TDS_SHORT;
+ #define SQLTEXT SYBTEXT
+ #define SQLCHAR SYBCHAR
+ #define SQLVARCHAR SYBVARCHAR