From 8fd32144ee0c00787c9c8f51fc7a1dbc70cc109a Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Tue, 19 Mar 2019 11:06:15 -0400 Subject: [PATCH] do not throw no file error in synctex --- ...-20180414-synctex-do-not-throw-no-file-error.patch | 11 +++++++++++ texlive-base.spec | 9 ++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 texlive-base-20180414-synctex-do-not-throw-no-file-error.patch diff --git a/texlive-base-20180414-synctex-do-not-throw-no-file-error.patch b/texlive-base-20180414-synctex-do-not-throw-no-file-error.patch new file mode 100644 index 0000000..d098854 --- /dev/null +++ b/texlive-base-20180414-synctex-do-not-throw-no-file-error.patch @@ -0,0 +1,11 @@ +diff -up texlive-base-20180414/source/texk/web2c/synctexdir/synctex_parser.c.shh texlive-base-20180414/source/texk/web2c/synctexdir/synctex_parser.c +--- texlive-base-20180414/source/texk/web2c/synctexdir/synctex_parser.c.shh 2019-03-19 11:02:44.303218932 -0400 ++++ texlive-base-20180414/source/texk/web2c/synctexdir/synctex_parser.c 2019-03-19 11:02:59.545857443 -0400 +@@ -6023,7 +6023,6 @@ synctex_scanner_p synctex_scanner_new_wi + if ((scanner->reader = synctex_reader_init_with_output_file(scanner->reader, output, build_directory))) { + return parse? synctex_scanner_parse(scanner):scanner; + } +- _synctex_error("No file?"); + return NULL; + } + diff --git a/texlive-base.spec b/texlive-base.spec index 884c39a..a19bac9 100644 --- a/texlive-base.spec +++ b/texlive-base.spec @@ -21,7 +21,7 @@ Name: %{shortname}-base Version: %{source_date} -Release: 34%{?dist} +Release: 35%{?dist} Epoch: 7 Summary: TeX formatting system # The only files in the base package are directories, cache, and license texts @@ -418,6 +418,9 @@ Patch16: texlive-base-pdfbook2-py3.patch # fix annocheck issue detected by rpmdiff Patch17: texlive-20180414-annocheck.patch Patch18: texlive-20180414-poppler-0.73.patch +# Do not throw no file error in synctex +Patch19: texlive-base-20180414-synctex-do-not-throw-no-file-error.patch + # Can't do this because it causes everything else to be noarch # BuildArch: noarch @@ -6407,6 +6410,7 @@ xz -dc %{SOURCE0} | tar x %patch15 -p1 -b .disabletest %patch17 -p1 -b .annocheck %patch18 -p1 -b .poppler-0.73 +%patch19 -p1 -b .shh # Setup copies of the licenses for l in `unxz -c %{SOURCE3} | tar t`; do @@ -8761,6 +8765,9 @@ done <<< "$list" %doc %{_texdir}/texmf-dist/doc/latex/yplan/ %changelog +* Tue Mar 19 2019 Tom Callaway - 7:20180414-35 +- do not throw no file error in synctex + * Sun Feb 03 2019 Fedora Release Engineering - 7:20180414-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild