diff options
-rw-r--r-- | lang/erlang/Makefile | 1 | ||||
-rw-r--r-- | lang/erlang/files/patch-lib_odbc_c__src_odbcserver.c | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile index 6c6d9f2acb3f..f0b80c5478bb 100644 --- a/lang/erlang/Makefile +++ b/lang/erlang/Makefile @@ -7,6 +7,7 @@ PORTNAME= erlang PORTVERSION= 15.b.02 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= lang parallel java MASTER_SITES= http://www.erlang.org/download/:erlangorg \ diff --git a/lang/erlang/files/patch-lib_odbc_c__src_odbcserver.c b/lang/erlang/files/patch-lib_odbc_c__src_odbcserver.c new file mode 100644 index 000000000000..ebe18ff695f6 --- /dev/null +++ b/lang/erlang/files/patch-lib_odbc_c__src_odbcserver.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- lib/odbc/c_src/odbcserver.c.orig ++++ lib/odbc/c_src/odbcserver.c +@@ -1150,7 +1150,7 @@ + (column.type.strlen_or_indptr_array[j])); + break; + case SQL_C_SLONG: +- ei_x_encode_long(&dynamic_buffer(state), ((long*)values)[j]); ++ ei_x_encode_long(&dynamic_buffer(state), ((SQLINTEGER*)values)[j]); + break; + case SQL_C_DOUBLE: + ei_x_encode_double(&dynamic_buffer(state), |