summaryrefslogtreecommitdiff
path: root/net/amphetadesk/files/patch-lib::XML::Simple.pm
diff options
context:
space:
mode:
Diffstat (limited to 'net/amphetadesk/files/patch-lib::XML::Simple.pm')
-rw-r--r--net/amphetadesk/files/patch-lib::XML::Simple.pm36
1 files changed, 0 insertions, 36 deletions
diff --git a/net/amphetadesk/files/patch-lib::XML::Simple.pm b/net/amphetadesk/files/patch-lib::XML::Simple.pm
deleted file mode 100644
index 16b92d8f0192..000000000000
--- a/net/amphetadesk/files/patch-lib::XML::Simple.pm
+++ /dev/null
@@ -1,36 +0,0 @@
---- lib/XML/Simple.pm.orig Sun Oct 9 20:08:35 2005
-+++ lib/XML/Simple.pm Sun Oct 9 20:22:07 2005
-@@ -880,7 +880,7 @@
- $encoded->{$ref} = $ref;
- }
- else {
-- if($named) {
-+ if(($named) && ($ref) && ($self) && ($self->escape_value($ref))) {
- return(join('',
- $indent, '<', $name, '>',
- ($self->{opt}->{noescape} ? $ref : $self->escape_value($ref)),
-@@ -888,7 +888,11 @@
- ));
- }
- else {
-+ if ($ref) {
- return("$ref$nl");
-+ } else {
-+ return("$nl");
-+ }
- }
- }
-
-@@ -1013,10 +1017,12 @@
-
- my($data) = @_;
-
-+ if (defined($data)) {
- $data =~ s/&/&amp;/sg;
- $data =~ s/</&lt;/sg;
- $data =~ s/>/&gt;/sg;
- $data =~ s/"/&quot;/sg;
-+ }
-
- return($data);
- }