diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-06 04:19:19 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-06 04:19:19 +0000 |
commit | 3d0f1c22dfc8f7fd040bf6de6c531b98cc0847b3 (patch) | |
tree | e114fe8d639b9a33ea8b3fc1950a9837ee0d3cc4 /udunits-2.2.28-fix-xml-path-logic.patch | |
parent | 6052887cd2d1da791f048c4acff49deb7ec3934b (diff) |
automatic import of udunits2
Diffstat (limited to 'udunits-2.2.28-fix-xml-path-logic.patch')
-rw-r--r-- | udunits-2.2.28-fix-xml-path-logic.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/udunits-2.2.28-fix-xml-path-logic.patch b/udunits-2.2.28-fix-xml-path-logic.patch new file mode 100644 index 0000000..37a9cd2 --- /dev/null +++ b/udunits-2.2.28-fix-xml-path-logic.patch @@ -0,0 +1,12 @@ +diff -up udunits-2.2.28/lib/xml.c.bad-logic udunits-2.2.28/lib/xml.c +--- udunits-2.2.28/lib/xml.c.bad-logic 2021-07-08 10:46:58.419418793 -0400 ++++ udunits-2.2.28/lib/xml.c 2021-07-08 10:47:13.421507912 -0400 +@@ -2217,7 +2217,7 @@ ut_get_path_xml( + *status = UT_OPEN_ENV; + } + else { +- path = default_udunits2_xml_path(); ++ path = DEFAULT_UDUNITS2_XML_PATH; + *status = UT_OPEN_DEFAULT; + } + } |