texlive-bin

This commit is contained in:
Rmys
2026-02-19 14:57:15 +03:00
parent 5ca3d936d9
commit 21adcfb608
4 changed files with 51 additions and 6 deletions
@@ -0,0 +1,13 @@
diff --git a/libs/lua53/lua53-src/src/luaconf.h b/libs/lua53/lua53-src/src/luaconf.h
index 9eeeea69e2..2a7deef3e1 100644
--- a/libs/lua53/lua53-src/src/luaconf.h
+++ b/libs/lua53/lua53-src/src/luaconf.h
@@ -200,7 +200,7 @@
#else /* }{ */
-#define LUA_ROOT "/usr/local/"
+#define LUA_ROOT "/usr/"
#define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR "/"
#define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR "/"
#define LUA_PATH_DEFAULT \
@@ -0,0 +1,14 @@
diff --git a/texk/ptexenc/ptexenc.c b/texk/ptexenc/ptexenc.c
index 4e81dbee7c..3c98d68125 100644
--- a/texk/ptexenc/ptexenc.c
+++ b/texk/ptexenc/ptexenc.c
@@ -1044,7 +1044,9 @@ long input_line2(FILE *fp, unsigned char *buff, unsigned char *buff2,
enc = ptenc_guess_enc(fp);
if (string_to_enc(enc) > 0) {
infile_enc[fd] = string_to_enc(enc);
+#ifdef DEBUG
fprintf(stderr, "(guessed encoding #%d: %s = %s)", fd, enc, enc_to_string(infile_enc[fd]));
+#endif /* DEBUG */
} else {
infile_enc[fd] = get_file_enc();
}