summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2020-01-28 01:07:46 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2020-01-28 01:08:40 +0100
commit474366dad65b7205550ebdaccbecc231a639f638 (patch)
treedee797e7498b44a7b759424536ab11c47ff38c93 /sci-visualization/gwyddion
parentnet-libs/libpcap: keyword for ~riscv (diff)
downloadgentoo-474366dad65b7205550ebdaccbecc231a639f638.tar.gz
gentoo-474366dad65b7205550ebdaccbecc231a639f638.tar.bz2
gentoo-474366dad65b7205550ebdaccbecc231a639f638.zip
sci-visualization/gwyddion: Fix generated mime data
Patch backported from upstream trunk Closes: https://bugs.gentoo.org/706790 Package-Manager: Portage-2.3.85, Repoman-2.3.20 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sci-visualization/gwyddion')
-rw-r--r--sci-visualization/gwyddion/files/gwyddion-2.55-mime.patch15
-rw-r--r--sci-visualization/gwyddion/gwyddion-2.55-r2.ebuild (renamed from sci-visualization/gwyddion/gwyddion-2.55-r1.ebuild)1
2 files changed, 16 insertions, 0 deletions
diff --git a/sci-visualization/gwyddion/files/gwyddion-2.55-mime.patch b/sci-visualization/gwyddion/files/gwyddion-2.55-mime.patch
new file mode 100644
index 000000000000..536790c1ac46
--- /dev/null
+++ b/sci-visualization/gwyddion/files/gwyddion-2.55-mime.patch
@@ -0,0 +1,15 @@
+Index: gwyddion/modules/file/ambprofile.c
+===================================================================
+--- gwyddion/modules/file/ambprofile.c (revision 22650)
++++ gwyddion/modules/file/ambprofile.c (revision 22651)
+@@ -32,8 +32,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>
diff --git a/sci-visualization/gwyddion/gwyddion-2.55-r1.ebuild b/sci-visualization/gwyddion/gwyddion-2.55-r2.ebuild
index 7029da852fcc..af6b46015063 100644
--- a/sci-visualization/gwyddion/gwyddion-2.55-r1.ebuild
+++ b/sci-visualization/gwyddion/gwyddion-2.55-r2.ebuild
@@ -38,6 +38,7 @@ DEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}/${PN}-2.55-automagic.patch"
+ "${FILESDIR}/${PN}-2.55-mime.patch"
)
src_prepare() {