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>
--- /dev/null
+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="<?xml">
+- <match type="string" offset="40:120" value="<ProfilometerData>">
+- <match type="string" offset="60:140" value="<Header>"/>
++ <match type="string" offset="40:120" value="<ProfilometerData>">
++ <match type="string" offset="60:140" value="<Header>"/>
+ </match>
+ </match>
+ </magic>
PATCHES=(
"${FILESDIR}/${PN}-2.55-automagic.patch"
"${FILESDIR}/${PN}-2.55-mime.patch"
+ "${FILESDIR}/${PN}-2.55-xml.patch"
)
src_prepare() {