diff options
author | olgeni <olgeni@FreeBSD.org> | 2005-06-28 12:21:59 +0000 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2005-06-28 12:21:59 +0000 |
commit | 178db9d798f937fb68616d707d919be311f782e1 (patch) | |
tree | d8026f0666702e5494b4e3ea9048d094bad40ad4 /lang/erlang14/files | |
parent | 8bb5e029a2e37bed6f7d12090ed4258315c57813 (diff) | |
download | FreeBSD-ports-178db9d798f937fb68616d707d919be311f782e1.zip FreeBSD-ports-178db9d798f937fb68616d707d919be311f782e1.tar.gz |
Enable ODBC support.
Submitted by: Alexey Slynko <slynko(at)tronet.ru>
Diffstat (limited to 'lang/erlang14/files')
-rw-r--r-- | lang/erlang14/files/patch-lib_odbc_c_src_odbcserver.c | 10 | ||||
-rw-r--r-- | lang/erlang14/files/patch-lib_odbc_configure | 11 |
2 files changed, 21 insertions, 0 deletions
diff --git a/lang/erlang14/files/patch-lib_odbc_c_src_odbcserver.c b/lang/erlang14/files/patch-lib_odbc_c_src_odbcserver.c new file mode 100644 index 0000000..985785b --- /dev/null +++ b/lang/erlang14/files/patch-lib_odbc_c_src_odbcserver.c @@ -0,0 +1,10 @@ +--- lib/odbc/c_src/odbcserver.c.orig Sat Jun 25 17:34:20 2005 ++++ lib/odbc/c_src/odbcserver.c Sat Jun 25 17:34:33 2005 +@@ -107,6 +107,7 @@ + #include <sys/socket.h> + #include <sys/uio.h> + #include <netdb.h> ++#include <netinet/in.h> + #endif + + #include "ei.h" diff --git a/lang/erlang14/files/patch-lib_odbc_configure b/lang/erlang14/files/patch-lib_odbc_configure new file mode 100644 index 0000000..fdb9d50 --- /dev/null +++ b/lang/erlang14/files/patch-lib_odbc_configure @@ -0,0 +1,11 @@ +--- lib/odbc/configure.orig Sat Jun 25 18:33:21 2005 ++++ lib/odbc/configure Sat Jun 25 18:33:51 2005 +@@ -1096,7 +1096,7 @@ + echo $ac_n "checking for odbc in standard locations""... $ac_c" 1>&6 + echo "configure:1098: checking for odbc in standard locations" >&5 + for dir in /opt/local/pgm/odbc /usr/local/odbc /usr/odbc \ +- /usr ++ /usr /usr/local + do + if test -f "$dir/include/sql.h"; then + is_odbc_std_location=yes |