commit:     9838d41271b22d47e1b2845a618170cd63bcffef
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 17 00:41:09 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Apr 17 00:43:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9838d412

dev-tex/xmltex: Unpack with /bin/gzip explicitly

... in order to work around an incompatibility in app-arch/pigz. It
appears that xmltex's tarball has trailing junk at the end of the file,
and it appears to be a completed project, so no new releases are
forthcoming.

Closes: https://bugs.gentoo.org/645438
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-tex/xmltex/xmltex-1.9-r3.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-tex/xmltex/xmltex-1.9-r3.ebuild 
b/dev-tex/xmltex/xmltex-1.9-r3.ebuild
index 177068ab925..5b9a6f94c67 100644
--- a/dev-tex/xmltex/xmltex-1.9-r3.ebuild
+++ b/dev-tex/xmltex/xmltex-1.9-r3.ebuild
@@ -22,6 +22,11 @@ DEPEND="virtual/latex-base"
 
 RDEPEND="${DEPEND}"
 
+src_unpack() {
+       # Bug 645438
+       tar -I /bin/gzip -xf "${DISTDIR}"/${P}.tar.gz || die
+}
+
 src_compile() {
        fmt_call="$(has_version '>=app-text/texlive-core-2019' \
          && echo "fmtutil-user" || echo "fmtutil")"

Reply via email to