.
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=472
This commit is contained in:
parent
17693d99e7
commit
f43ab0bdcf
54
source-luacore.dif
Normal file
54
source-luacore.dif
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
---
|
||||||
|
texk/web2c/luatexdir/lua/luatex-core.lua | 28 ++++++----------------------
|
||||||
|
1 file changed, 6 insertions(+), 22 deletions(-)
|
||||||
|
|
||||||
|
--- texk/web2c/luatexdir/lua/luatex-core.lua
|
||||||
|
+++ texk/web2c/luatexdir/lua/luatex-core.lua 2024-03-21 12:42:17.354996241 +0000
|
||||||
|
@@ -92,23 +92,14 @@ if kpseused == 1 and (status.shell_escap
|
||||||
|
if not how then
|
||||||
|
how = 'r'
|
||||||
|
end
|
||||||
|
- local check = true
|
||||||
|
- if how == 'r' or how == 'rb' or how == '' then
|
||||||
|
- check = kpse_in_name_ok_silent_extended(name)
|
||||||
|
- else
|
||||||
|
- check = kpse_out_name_ok_silent_extended(name)
|
||||||
|
- end
|
||||||
|
- local f = nil
|
||||||
|
- if check then
|
||||||
|
- f = io_open(name,how)
|
||||||
|
- if f then
|
||||||
|
+ local f = io_open(name,how)
|
||||||
|
+ if f then
|
||||||
|
if type(how) == 'string' and find(how,'w') then
|
||||||
|
kpse_recordoutputfile(name,'w')
|
||||||
|
else
|
||||||
|
kpse_recordinputfile(name,'r')
|
||||||
|
end
|
||||||
|
- end
|
||||||
|
- end
|
||||||
|
+ end
|
||||||
|
return f
|
||||||
|
end
|
||||||
|
|
||||||
|
@@ -121,17 +112,10 @@ if kpseused == 1 and (status.shell_escap
|
||||||
|
how = 'r'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
- local check = false
|
||||||
|
- if how == 'r' or how == 'rb' or how == '' then
|
||||||
|
- check = kpse_in_name_ok_silent_extended(name)
|
||||||
|
- end
|
||||||
|
- local f = nil
|
||||||
|
- if check then
|
||||||
|
- f = io_open(name,how)
|
||||||
|
- if f then
|
||||||
|
+ local f = io_open(name,how)
|
||||||
|
+ if f then
|
||||||
|
fio_recordfilename(name,'r')
|
||||||
|
- end
|
||||||
|
- end
|
||||||
|
+ end
|
||||||
|
return f
|
||||||
|
end
|
||||||
|
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 21 13:47:14 UTC 2024 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Add patch source-luacore.dif
|
||||||
|
* Disarm file access checks for user owned directories for
|
||||||
|
lua binaries as other cache is only in current dirctory
|
||||||
|
possible (boo#1221762)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 20 10:01:34 UTC 2024 - Dr. Werner Fink <werner@suse.de>
|
Wed Mar 20 10:01:34 UTC 2024 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
%define texlive_version 2024
|
%define texlive_version 2024
|
||||||
%define texlive_previous 2022
|
%define texlive_previous 2022
|
||||||
%define texlive_release 20240311
|
%define texlive_release 20240311
|
||||||
%define texlive_noarch 212
|
%define texlive_noarch 213
|
||||||
%define texlive_source texlive-20240311-source
|
%define texlive_source texlive-20240311-source
|
||||||
%define biber_version 2.19
|
%define biber_version 2.19
|
||||||
|
|
||||||
@ -256,6 +256,7 @@ Patch5: source-texdoc.dif
|
|||||||
Patch6: source-dviutils.dif
|
Patch6: source-dviutils.dif
|
||||||
Patch7: source-mesa24.dif
|
Patch7: source-mesa24.dif
|
||||||
Patch8: source-psutils.dif
|
Patch8: source-psutils.dif
|
||||||
|
Patch9: source-luacore.dif
|
||||||
Patch11: source-lacheck.dif
|
Patch11: source-lacheck.dif
|
||||||
Patch12: source-warns.dif
|
Patch12: source-warns.dif
|
||||||
Patch13: source-x11r7.dif
|
Patch13: source-x11r7.dif
|
||||||
@ -4234,6 +4235,7 @@ This package is required by the package texlive-biber-bin.
|
|||||||
%patch -P6 -p0 -b .dviutils
|
%patch -P6 -p0 -b .dviutils
|
||||||
%patch -P7 -p0 -b .mesa24
|
%patch -P7 -p0 -b .mesa24
|
||||||
%patch -P8 -p0 -b .psutils
|
%patch -P8 -p0 -b .psutils
|
||||||
|
%patch -P9 -p0 -b .perms
|
||||||
%patch -P11 -p0 -b .lacheck
|
%patch -P11 -p0 -b .lacheck
|
||||||
%patch -P12 -p0 -b .warns
|
%patch -P12 -p0 -b .warns
|
||||||
%patch -P13 -p0 -b .x11r7
|
%patch -P13 -p0 -b .x11r7
|
||||||
|
Loading…
x
Reference in New Issue
Block a user