aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/libiodbc/Makefile2
-rw-r--r--databases/libiodbc/files/patch-include::sqltypes.h10
2 files changed, 11 insertions, 1 deletions
diff --git a/databases/libiodbc/Makefile b/databases/libiodbc/Makefile
index c75ab3ab4bea..f52c1f610870 100644
--- a/databases/libiodbc/Makefile
+++ b/databases/libiodbc/Makefile
@@ -10,7 +10,7 @@
PORTNAME= libiodbc
PORTVERSION= 3.51.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= databases
MASTER_SITES= http://www.iodbc.org/downloads/iODBC/
diff --git a/databases/libiodbc/files/patch-include::sqltypes.h b/databases/libiodbc/files/patch-include::sqltypes.h
new file mode 100644
index 000000000000..b1f5ecbd2350
--- /dev/null
+++ b/databases/libiodbc/files/patch-include::sqltypes.h
@@ -0,0 +1,10 @@
+--- include/sqltypes.h.orig Fri Mar 26 08:33:24 2004
++++ include/sqltypes.h Fri Mar 26 08:33:37 2004
+@@ -409,6 +409,7 @@
+ # if defined(_WCHAR_T) || \
+ defined(_WCHAR_T_DEFINED) || \
+ defined(_WCHAR_T_DECLARED) || \
++ defined(__FreeBSD__) || \
+ defined(_BSD_WCHAR_T_DEFINED_)
+ typedef wchar_t SQLWCHAR;
+ # else