summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '0002-normalize-all-updmap-path.patch')
-rw-r--r--0002-normalize-all-updmap-path.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/0002-normalize-all-updmap-path.patch b/0002-normalize-all-updmap-path.patch
new file mode 100644
index 0000000..4067716
--- /dev/null
+++ b/0002-normalize-all-updmap-path.patch
@@ -0,0 +1,29 @@
+From 7dfce929c2a21d56677695b42953b6f42b05d99d Mon Sep 17 00:00:00 2001
+From: Mikle Kolyada <zlogene@gentoo.org>
+Date: Sun, 2 Jun 2019 13:50:24 +0300
+Subject: [PATCH 2/6] normalize all updmap path
+
+https://bugs.gentoo.org/show_bug.cgi?id=428350
+Normalize the path here too otherwise it may fail.
+
+Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
+---
+ texk/texlive/linked_scripts/texlive/updmap.pl | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/texk/texlive/linked_scripts/texlive/updmap.pl b/texk/texlive/linked_scripts/texlive/updmap.pl
+index d1cfe6c5..f0ad22e2 100755
+--- a/texk/texlive/linked_scripts/texlive/updmap.pl
++++ b/texk/texlive/linked_scripts/texlive/updmap.pl
+@@ -1491,7 +1491,7 @@ sub setOptions {
+
+ sub enable_disable_maps {
+ my (@what) = @_;
+- my $tc = $alldata->{'changes_config'};
++ my $tc = Cwd::abs_path($alldata->{'changes_config'});
+ die "$prg: top config file $tc has not been read."
+ if (!defined($alldata->{'updmap'}{$tc}));
+
+--
+2.21.0
+