summaryrefslogtreecommitdiff
path: root/databases/iodbc/patches/patch-include_sqltypes.h
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2012-03-15 14:50:56 +0000
committerabs <abs@pkgsrc.org>2012-03-15 14:50:56 +0000
commit0904af002fa1bba956e131773e84d77d52b5e987 (patch)
tree1eed22e90df9de8d0bb861f5adab94f0734e366c /databases/iodbc/patches/patch-include_sqltypes.h
parent6c456867ce693eb3f7abe9e7b85ce51c4b72db46 (diff)
downloadpkgsrc-0904af002fa1bba956e131773e84d77d52b5e987.tar.gz
Also put libs in iodbc subdir, patch to ensure pkgconfigdir is not affected
bump PKGREVISION. Test built soprano
Diffstat (limited to 'databases/iodbc/patches/patch-include_sqltypes.h')
-rw-r--r--databases/iodbc/patches/patch-include_sqltypes.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/databases/iodbc/patches/patch-include_sqltypes.h b/databases/iodbc/patches/patch-include_sqltypes.h
new file mode 100644
index 00000000000..71033faad9a
--- /dev/null
+++ b/databases/iodbc/patches/patch-include_sqltypes.h
@@ -0,0 +1,23 @@
+$NetBSD: patch-include_sqltypes.h,v 1.1 2012/03/15 14:50:56 abs Exp $
+
+--- include/sqltypes.h.orig 2009-09-09 20:06:24.000000000 +0000
++++ include/sqltypes.h
+@@ -400,18 +400,7 @@ typedef unsigned short SQLWCHAR;
+ #else
+ # include <stdlib.h>
+
+-# if defined(__cplusplus) || \
+- defined(_WCHAR_T) || \
+- defined(_WCHAR_T_DEFINED) || \
+- defined(_WCHAR_T_DEFINED_) || \
+- defined(_WCHAR_T_DECLARED) || \
+- defined(_BSD_WCHAR_T_DEFINED_) || \
+- defined(_BSD_WCHAR_T_) || \
+- defined(_BSD_CT_RUNE_T_)
+ typedef wchar_t SQLWCHAR;
+-# else
+-# error Please make sure your system supports the wchar_t type
+-# endif
+ #endif /* WIN32 */
+
+