.
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=474
This commit is contained in:
parent
61648ece7f
commit
d7b285b208
@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
texk/kpathsea/tex-file.c | 16 +++++++++++++++-
|
texk/kpathsea/tex-file.c | 14 +++++++++++++-
|
||||||
1 file changed, 15 insertions(+), 1 deletion(-)
|
1 file changed, 13 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
--- texk/kpathsea/tex-file.c
|
--- texk/kpathsea/tex-file.c
|
||||||
+++ texk/kpathsea/tex-file.c 2024-03-22 09:23:02.305892751 +0000
|
+++ texk/kpathsea/tex-file.c 2024-03-22 10:05:55.034645098 +0000
|
||||||
@@ -21,7 +21,9 @@
|
@@ -21,7 +21,9 @@
|
||||||
|
|
||||||
#include <kpathsea/c-fopen.h>
|
#include <kpathsea/c-fopen.h>
|
||||||
@ -14,14 +14,12 @@
|
|||||||
#include <kpathsea/cnf.h>
|
#include <kpathsea/cnf.h>
|
||||||
#include <kpathsea/absolute.h>
|
#include <kpathsea/absolute.h>
|
||||||
#include <kpathsea/concatn.h>
|
#include <kpathsea/concatn.h>
|
||||||
@@ -1316,13 +1318,25 @@ kpathsea_name_ok (kpathsea kpse, const_s
|
@@ -1316,13 +1318,23 @@ kpathsea_name_ok (kpathsea kpse, const_s
|
||||||
TEXMFSYSVAR. */
|
TEXMFSYSVAR. */
|
||||||
if (extended) {
|
if (extended) {
|
||||||
const_string texmfvar = kpathsea_var_value (kpse, "TEXMFVAR");
|
const_string texmfvar = kpathsea_var_value (kpse, "TEXMFVAR");
|
||||||
+ string cache = kpathsea_var_value (kpse, "VARTEXFONTS");
|
+ string cache = kpathsea_var_value (kpse, "VARTEXFONTS");
|
||||||
+ string tmp = concat3 (cache, "/", "k_p_s_e_t_e_s_t_.tmp");
|
+ int fa = access(cache, W_OK);
|
||||||
+ int fa = access(tmp, W_OK);
|
|
||||||
+ free (tmp);
|
|
||||||
+ if (fa != 0) {
|
+ if (fa != 0) {
|
||||||
+ string home = getenv ("HOME");
|
+ string home = getenv ("HOME");
|
||||||
+ cache = concat3 (home, "/", ".cache/texmf/fonts");
|
+ cache = concat3 (home, "/", ".cache/texmf/fonts");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user