File 4535-otp-Remove-invalid-svg-attribute.patch of Package erlang
From f1b3f356b12c3b23b17f012b014f18e6728bfc72 Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Wed, 28 Apr 2021 17:08:08 +0200
Subject: [PATCH] otp: Remove invalid svg attribute
The text-anchor is supposed to be start, but that
is the default, so we can just remove it.
---
system/doc/design_principles/sup-one_for_all.svg | 6 +++---
system/doc/design_principles/sup-one_for_one.svg | 4 ++--
system/doc/design_principles/sup-rest_for_one.svg | 6 +++---
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/system/doc/design_principles/sup-one_for_all.svg b/system/doc/design_principles/sup-one_for_all.svg
index e4cfb8fbbd..1c2a4f1906 100755
--- a/system/doc/design_principles/sup-one_for_all.svg
+++ b/system/doc/design_principles/sup-one_for_all.svg
@@ -24,7 +24,7 @@
.divider {stroke: #000000; stroke-width: 0.2; stroke-dasharray: 1 3;}
- .legend.label {font-size: 10px; fill: #000000; text-anchor: left; font-family: sans-serif; font-style: normal; font-weight: normal;}
+ .legend.label {font-size: 10px; fill: #000000; font-family: sans-serif; font-style: normal; font-weight: normal;}
.legend.body.terminated {fill: #ff8888; fill-opacity: 1; stroke: none;}
.legend.body.sup-terminated {fill: #ffaa00; fill-opacity: 1; stroke: none;}
.legend.body.restarted {fill: none; fill-opacity: 1; stroke: #00aa00; stroke-width: 2;}
@@ -105,7 +105,7 @@
</g>
<g transform="translate(0 34)">
<ellipse class="legend body restarted" cx="0" cy="0" rx="5" ry="5"/>
- <text font-size="10" style="fill: #000000; text-anchor: left; font-family: sans-serif; font-style: normal; font-weight: normal" x="10" y="3">Process restarted by the supervisor</text>
+ <text font-size="10" style="fill: #000000; font-family: sans-serif; font-style: normal; font-weight: normal" x="10" y="3">Process restarted by the supervisor</text>
</g>
<g transform="translate(0 46)">
<g class="arrow shutdown" style="stroke-width: 1.5">
@@ -124,4 +124,4 @@
<text class="legend label" x="10" y="3">Restart order</text>
</g>
</g>
-</svg>
\ No newline at end of file
+</svg>
diff --git a/system/doc/design_principles/sup-one_for_one.svg b/system/doc/design_principles/sup-one_for_one.svg
index d422246124..d9c0c420ab 100755
--- a/system/doc/design_principles/sup-one_for_one.svg
+++ b/system/doc/design_principles/sup-one_for_one.svg
@@ -20,7 +20,7 @@
.divider {stroke: #000000; stroke-width: 0.2; stroke-dasharray: 1 3;}
- .legend.label {font-size: 10px; fill: #000000; text-anchor: left; font-family: sans-serif; font-style: normal; font-weight: normal;}
+ .legend.label {font-size: 10px; fill: #000000; font-family: sans-serif; font-style: normal; font-weight: normal;}
.legend.body.terminated {fill: #ff8888; fill-opacity: 1; stroke: none;}
.legend.body.restarted {fill: none; fill-opacity: 1; stroke: #00aa00; stroke-width: 2;}
</style>
@@ -83,4 +83,4 @@
<text class="legend label" x="10" y="3">Process restarted by the supervisor</text>
</g>
</g>
-</svg>
\ No newline at end of file
+</svg>
diff --git a/system/doc/design_principles/sup-rest_for_one.svg b/system/doc/design_principles/sup-rest_for_one.svg
index 33de28e99f..090404e795 100755
--- a/system/doc/design_principles/sup-rest_for_one.svg
+++ b/system/doc/design_principles/sup-rest_for_one.svg
@@ -24,7 +24,7 @@
.divider {stroke: #000000; stroke-width: 0.2; stroke-dasharray: 1 3;}
- .legend.label {font-size: 10px; fill: #000000; text-anchor: left; font-family: sans-serif; font-style: normal; font-weight: normal;}
+ .legend.label {font-size: 10px; fill: #000000; font-family: sans-serif; font-style: normal; font-weight: normal;}
.legend.body.terminated {fill: #ff8888; fill-opacity: 1; stroke: none;}
.legend.body.sup-terminated {fill: #ffaa00; fill-opacity: 1; stroke: none;}
.legend.body.restarted {fill: none; fill-opacity: 1; stroke: #00aa00; stroke-width: 2;}
@@ -103,7 +103,7 @@
</g>
<g transform="translate(0 34)">
<ellipse class="legend body restarted" cx="0" cy="0" rx="5" ry="5"/>
- <text font-size="10" style="fill: #000000; text-anchor: left; font-family: sans-serif; font-style: normal; font-weight: normal" x="10" y="3">Process restarted by the supervisor</text>
+ <text font-size="10" style="fill: #000000; font-family: sans-serif; font-style: normal; font-weight: normal" x="10" y="3">Process restarted by the supervisor</text>
</g>
<g transform="translate(0 46)">
<g class="arrow shutdown" style="stroke-width: 1.5">
@@ -122,4 +122,4 @@
<text class="legend label" x="10" y="3">Restart order</text>
</g>
</g>
-</svg>
\ No newline at end of file
+</svg>
--
2.26.2