summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/xmlto')
-rw-r--r--app-text/xmlto/files/xmlto-0.0.28-dont-hardcode-paths.patch4
-rw-r--r--app-text/xmlto/xmlto-0.0.28-r8.ebuild (renamed from app-text/xmlto/xmlto-0.0.28-r7.ebuild)0
2 files changed, 3 insertions, 1 deletions
diff --git a/app-text/xmlto/files/xmlto-0.0.28-dont-hardcode-paths.patch b/app-text/xmlto/files/xmlto-0.0.28-dont-hardcode-paths.patch
index 5823b7350749..7137966b27d2 100644
--- a/app-text/xmlto/files/xmlto-0.0.28-dont-hardcode-paths.patch
+++ b/app-text/xmlto/files/xmlto-0.0.28-dont-hardcode-paths.patch
@@ -1,3 +1,5 @@
+(See https://bugs.gentoo.org/828520 too)
+
From: Sam James <sam@gentoo.org>
Date: Wed, 10 Nov 2021 04:53:33 +0000
Subject: [PATCH] Don't hardcode paths to utilities
@@ -20,7 +22,7 @@ this package is fragile enough. Leaving it for now.
-SED_PATH=@SED@
-GREP_PATH=@GREP@
-ZIP_PATH=@ZIP@
-+LINKS_PATH=$(command -v links)
++LINKS_PATH=$(command -v elinks || command -v links)
+W3M_PATH=$(command -v w3m)
+LYNX_PATH=$(command -v lynx)
+GCP_PATH=$(command -v cp)
diff --git a/app-text/xmlto/xmlto-0.0.28-r7.ebuild b/app-text/xmlto/xmlto-0.0.28-r8.ebuild
index c54987d45d2f..c54987d45d2f 100644
--- a/app-text/xmlto/xmlto-0.0.28-r7.ebuild
+++ b/app-text/xmlto/xmlto-0.0.28-r8.ebuild