aboutsummaryrefslogtreecommitdiff
path: root/lang/erlang14/files
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2007-02-15 20:57:03 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2007-02-15 20:57:03 +0000
commit7cdaeed6ed045654276ac52ed5b4b55492aaedf2 (patch)
tree41bcb3509af9589db70946b5fe0158539597d1c5 /lang/erlang14/files
parent2bf5249dbc82efc9ffad47e7eb8230be8c1f7d16 (diff)
downloadports-7cdaeed6ed045654276ac52ed5b4b55492aaedf2.tar.gz
ports-7cdaeed6ed045654276ac52ed5b4b55492aaedf2.zip
Notes
Diffstat (limited to 'lang/erlang14/files')
-rw-r--r--lang/erlang14/files/patch-lib_xmerl_src_xmerl__lib.erl21
1 files changed, 21 insertions, 0 deletions
diff --git a/lang/erlang14/files/patch-lib_xmerl_src_xmerl__lib.erl b/lang/erlang14/files/patch-lib_xmerl_src_xmerl__lib.erl
new file mode 100644
index 000000000000..03c41895d45e
--- /dev/null
+++ b/lang/erlang14/files/patch-lib_xmerl_src_xmerl__lib.erl
@@ -0,0 +1,21 @@
+
+$FreeBSD$
+
+--- lib/xmerl/src/xmerl_lib.erl.orig
++++ lib/xmerl/src/xmerl_lib.erl
+@@ -218,13 +218,11 @@
+
+ expand_content([{H} | T], Pos, Parents, Norm) ->
+ expand_content(H ++ T, Pos, Parents, Norm);
+-expand_content([H | T], Pos, Parents, Norm) when is_tuple(H) ->
++expand_content([H | T], Pos, Parents, Norm) ->
+ [expand_element(H, Pos, Parents, Norm)
+ | expand_content(T, Pos+1, Parents, Norm)];
+ expand_content([], _Pos, _Parents, _Norm) ->
+- [];
+-expand_content(Content,Pos,Parents,Norm) ->
+- [expand_element(Content, Pos, Parents, Norm)].
++ [].
+
+ expand_attributes(Attrs) ->
+ expand_attributes(Attrs, 1, []).