diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2007-02-23 20:14:54 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2007-02-23 20:14:54 +0000 |
commit | 54a7124a42284fcc4b8434b36be7c48c975762b7 (patch) | |
tree | d20e33466e3148dda89c6249f8588529815ceb8f /lang | |
parent | b1845683870b1891e2b28e67400df902fcafbfaf (diff) | |
download | ports-54a7124a42284fcc4b8434b36be7c48c975762b7.tar.gz ports-54a7124a42284fcc4b8434b36be7c48c975762b7.zip |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/erlang/Makefile | 2 | ||||
-rw-r--r-- | lang/erlang/files/patch-lib_stdlib_src_io__lib__pretty.erl | 16 | ||||
-rw-r--r-- | lang/erlang14/Makefile | 2 | ||||
-rw-r--r-- | lang/erlang14/files/patch-lib_stdlib_src_io__lib__pretty.erl | 16 |
4 files changed, 34 insertions, 2 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile index 5065c6f97900..a94778ac80e2 100644 --- a/lang/erlang/Makefile +++ b/lang/erlang/Makefile @@ -7,7 +7,7 @@ PORTNAME= erlang PORTVERSION= r11b3 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= lang parallel MASTER_SITES= http://www.erlang.org/download/ \ diff --git a/lang/erlang/files/patch-lib_stdlib_src_io__lib__pretty.erl b/lang/erlang/files/patch-lib_stdlib_src_io__lib__pretty.erl new file mode 100644 index 000000000000..0f3305e2fd57 --- /dev/null +++ b/lang/erlang/files/patch-lib_stdlib_src_io__lib__pretty.erl @@ -0,0 +1,16 @@ + +$FreeBSD$ + +--- lib/stdlib/src/io_lib_pretty.erl.orig ++++ lib/stdlib/src/io_lib_pretty.erl +@@ -159,7 +159,9 @@ + %% Reuse the list created by io_lib:write_binary()... + pp_binary([LT,LT,S,GT,GT], Col, Ll, Ind, LD) -> + N = max(8, Ll - Col - LD), +- [LT,LT,pp_binary(S, N, N, Ind),GT,GT]. ++ [LT,LT,pp_binary(S, N, N, Ind),GT,GT]; ++pp_binary(S, _Col, _Ll, _Ind, _LD) -> ++ S. + + pp_binary([BS, $, | S], N, N0, Ind) -> + Len = length(BS) + 1, diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile index 5065c6f97900..a94778ac80e2 100644 --- a/lang/erlang14/Makefile +++ b/lang/erlang14/Makefile @@ -7,7 +7,7 @@ PORTNAME= erlang PORTVERSION= r11b3 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= lang parallel MASTER_SITES= http://www.erlang.org/download/ \ diff --git a/lang/erlang14/files/patch-lib_stdlib_src_io__lib__pretty.erl b/lang/erlang14/files/patch-lib_stdlib_src_io__lib__pretty.erl new file mode 100644 index 000000000000..0f3305e2fd57 --- /dev/null +++ b/lang/erlang14/files/patch-lib_stdlib_src_io__lib__pretty.erl @@ -0,0 +1,16 @@ + +$FreeBSD$ + +--- lib/stdlib/src/io_lib_pretty.erl.orig ++++ lib/stdlib/src/io_lib_pretty.erl +@@ -159,7 +159,9 @@ + %% Reuse the list created by io_lib:write_binary()... + pp_binary([LT,LT,S,GT,GT], Col, Ll, Ind, LD) -> + N = max(8, Ll - Col - LD), +- [LT,LT,pp_binary(S, N, N, Ind),GT,GT]. ++ [LT,LT,pp_binary(S, N, N, Ind),GT,GT]; ++pp_binary(S, _Col, _Ll, _Ind, _LD) -> ++ S. + + pp_binary([BS, $, | S], N, N0, Ind) -> + Len = length(BS) + 1, |