diff options
author | dholland <dholland@pkgsrc.org> | 2011-10-14 04:14:35 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2011-10-14 04:14:35 +0000 |
commit | c5cd3237c3b751290ea4aa385bc9c09a970cee3c (patch) | |
tree | b63426470234bcf62836dbfcb55e6a145b016271 /databases/py-mssql | |
parent | cea6a0c8f15d18533f8d70d604c7787557b59ce3 (diff) | |
download | pkgsrc-c5cd3237c3b751290ea4aa385bc9c09a970cee3c.tar.gz |
Fix build with current freetds.
Diffstat (limited to 'databases/py-mssql')
-rw-r--r-- | databases/py-mssql/distinfo | 3 | ||||
-rw-r--r-- | databases/py-mssql/patches/patch-mssqldbmodule_c | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/databases/py-mssql/distinfo b/databases/py-mssql/distinfo index e6ee336aac1..3e475579f08 100644 --- a/databases/py-mssql/distinfo +++ b/databases/py-mssql/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.3 2007/06/15 16:08:39 obache Exp $ +$NetBSD: distinfo,v 1.4 2011/10/14 04:14:35 dholland Exp $ SHA1 (pymssql-0.8.0.tar.gz) = e06618f2023ef2b7f6901479d7e3b6c56cecf323 RMD160 (pymssql-0.8.0.tar.gz) = d55535d9e17bc79a3f3cda040fc13edd7c3c74d6 Size (pymssql-0.8.0.tar.gz) = 158030 bytes +SHA1 (patch-mssqldbmodule_c) = 838189627666cbffbb324da7238289e78080c63c diff --git a/databases/py-mssql/patches/patch-mssqldbmodule_c b/databases/py-mssql/patches/patch-mssqldbmodule_c new file mode 100644 index 00000000000..5b8e18d1973 --- /dev/null +++ b/databases/py-mssql/patches/patch-mssqldbmodule_c @@ -0,0 +1,16 @@ +$NetBSD: patch-mssqldbmodule_c,v 1.1 2011/10/14 04:14:36 dholland Exp $ + +Fix build with latest freetds, which now provides BYTE and LPBYTE. + +--- mssqldbmodule.c~ 2006-09-22 19:44:17.000000000 +0000 ++++ mssqldbmodule.c +@@ -67,9 +67,6 @@ + #define SQLVARCHAR SYBVARCHAR + #define SQLCHAR SYBCHAR + #define SQLTEXT SYBTEXT +- +- #define BYTE unsigned char +- typedef unsigned char *LPBYTE; + #endif + + #define TYPE_STRING 1 |