sci-visualization/gwyddion: Really fix bug 706790 and bug 710664 now

Last fix didn't work properly in all cases, so also patch
generated xml file ...

Closes: https://bugs.gentoo.org/706790
Closes: https://bugs.gentoo.org/710664
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Huettel
2020-03-09 09:32:26 +01:00
parent 5628be9576
commit d31f43e4f2
2 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
diff --git a/data/gwyddion.xml b/data/gwyddion.xml
index d26089f..acb7b90 100644
--- a/data/gwyddion.xml
+++ b/data/gwyddion.xml
@@ -55,8 +55,8 @@
<comment>Ambios XML profile data</comment>
<magic priority="80">
<match type="string" offset="0" value="&lt;?xml">
- <match type="string" offset="40:120" value="<ProfilometerData>">
- <match type="string" offset="60:140" value="<Header>"/>
+ <match type="string" offset="40:120" value="&lt;ProfilometerData&gt;">
+ <match type="string" offset="60:140" value="&lt;Header&gt;"/>
</match>
</match>
</magic>

View File

@@ -39,6 +39,7 @@ DEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}/${PN}-2.55-automagic.patch"
"${FILESDIR}/${PN}-2.55-mime.patch"
"${FILESDIR}/${PN}-2.55-xml.patch"
)
src_prepare() {