diff options
author | 2021-04-28 19:24:56 +0200 | |
---|---|---|
committer | 2021-05-04 22:01:24 +0000 | |
commit | 1bd881d96b0ced37ff57668b1d02413a3548cca0 (patch) | |
tree | dbaed18d75960e521d85d966150d3896e87c7a4d /media-gfx/freecad/files/freecad-0.19.2-0002-fix-femtest-failure-with-yaml-load.patch | |
parent | media-gfx/openscad: adjust variables (diff) | |
download | gentoo-1bd881d96b0ced37ff57668b1d02413a3548cca0.tar.gz gentoo-1bd881d96b0ced37ff57668b1d02413a3548cca0.tar.bz2 gentoo-1bd881d96b0ced37ff57668b1d02413a3548cca0.zip |
media-gfx/freecad: bump to 0.19.2
Closes: https://bugs.gentoo.org/785256
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/20580
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx/freecad/files/freecad-0.19.2-0002-fix-femtest-failure-with-yaml-load.patch')
-rw-r--r-- | media-gfx/freecad/files/freecad-0.19.2-0002-fix-femtest-failure-with-yaml-load.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/media-gfx/freecad/files/freecad-0.19.2-0002-fix-femtest-failure-with-yaml-load.patch b/media-gfx/freecad/files/freecad-0.19.2-0002-fix-femtest-failure-with-yaml-load.patch new file mode 100644 index 000000000000..17da18c2b12c --- /dev/null +++ b/media-gfx/freecad/files/freecad-0.19.2-0002-fix-femtest-failure-with-yaml-load.patch @@ -0,0 +1,26 @@ +From a8314fdc56bb39f5af85e1678a03d613bfb9ee03 Mon Sep 17 00:00:00 2001 +From: Bernd Waibel <waebbl-gentoo@posteo.net> +Date: Mon, 26 Apr 2021 19:32:54 +0200 +Subject: [PATCH] fix femtest failure with yaml load + +Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> +--- + src/Mod/Fem/feminout/importYamlJsonMesh.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/Mod/Fem/feminout/importYamlJsonMesh.py b/src/Mod/Fem/feminout/importYamlJsonMesh.py +index 9886248..aff83a5 100644 +--- a/src/Mod/Fem/feminout/importYamlJsonMesh.py ++++ b/src/Mod/Fem/feminout/importYamlJsonMesh.py +@@ -162,7 +162,7 @@ def read( + or fileExtension.lower() == ".yml" + ) and has_yaml: + fp = pyopen(fileString, "rt") +- raw_mesh_data = yaml.load(fp) ++ raw_mesh_data = yaml.load(fp, Loader=yaml.SafeLoader) + fp.close() + else: + Console.PrintError( +-- +2.31.1 + |