1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-19 12:57:09 +00:00
termux-packages/packages/texlive-bin/eptex-bool.patch
Henrik Grimler d3d202979a texlive-bin: update to 2021 version
Specifically svn tag 58837.  Texlive now depends on xpdf instead of
poppler.  We have xpdf in x11-packages, but it depends on qt5-qtbase,
so moving it to termux-packages would mean moving pretty much all x11
packages to the main repo.

Use the xpdf source shipped with texlive instead for now.
2021-06-25 14:25:13 +02:00

33 lines
1.2 KiB
Diff

--- ./texk/web2c/eptexdir/pdfutils.ch.orig 2021-06-25 10:41:05.076465982 +0000
+++ ./texk/web2c/eptexdir/pdfutils.ch 2021-06-25 10:41:26.523183653 +0000
@@ -932,7 +932,7 @@
@!save_scanner_status:small_number; {|scanner_status| upon entry}
@!save_def_ref: pointer; {|def_ref| upon entry, important if inside `\.{\\message}'}
@!save_warning_index: pointer;
-@!bool: boolean; {temp boolean}
+@!mybool: boolean; {temp boolean}
@!u: str_number; {saved current string string}
@!s: str_number; {first temp string}
@!i: integer;
@@ -1038,9 +1038,9 @@
save_warning_index := warning_index;
save_def_ref := def_ref;
save_cur_string;
- bool := scan_keyword("file");
+ mybool := scan_keyword("file");
scan_pdf_ext_toks;
- if bool then s := tokens_to_string(def_ref)
+ if mybool then s := tokens_to_string(def_ref)
else begin
isprint_utf8:=true; s := tokens_to_string(def_ref); isprint_utf8:=false;
end;
@@ -1049,7 +1049,7 @@
warning_index := save_warning_index;
scanner_status := save_scanner_status;
b := pool_ptr;
- getmd5sum(s, bool);
+ getmd5sum(s, mybool);
link(garbage) := str_toks(b);
flush_str(s);
ins_list(link(temp_head));