summaryrefslogtreecommitdiff
path: root/lang/erlang14
diff options
context:
space:
mode:
Diffstat (limited to 'lang/erlang14')
-rw-r--r--lang/erlang14/Makefile1
-rw-r--r--lang/erlang14/files/patch-lib_erl__interface_src_decode_decode__longlong.c14
2 files changed, 15 insertions, 0 deletions
diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile
index ca6510a7cfa1..4ea0f020c448 100644
--- a/lang/erlang14/Makefile
+++ b/lang/erlang14/Makefile
@@ -7,6 +7,7 @@
PORTNAME= erlang
PORTVERSION= r9c0
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= lang
MASTER_SITES= ftp://ftp.erlang.org/pub/download/ \
diff --git a/lang/erlang14/files/patch-lib_erl__interface_src_decode_decode__longlong.c b/lang/erlang14/files/patch-lib_erl__interface_src_decode_decode__longlong.c
new file mode 100644
index 000000000000..ce5e84161b1d
--- /dev/null
+++ b/lang/erlang14/files/patch-lib_erl__interface_src_decode_decode__longlong.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- lib/erl_interface/src/decode/decode_longlong.c.orig Sun Aug 31 14:00:44 2003
++++ lib/erl_interface/src/decode/decode_longlong.c Sun Aug 31 14:01:41 2003
+@@ -51,7 +51,7 @@
+ int pos, shift = 0;
+ n = 0;
+ for (pos = 0; pos < arity; pos++) {
+- n |= get8(s) << shift;
++ n |= ((EI_LONGLONG) get8(s)) << shift;
+ shift += 8;
+ }
+ }