From e309c11cdc8931831fa4a26210eb91cf09be270c0612e8ba96e23fc710b62a20 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Wed, 22 Apr 2020 10:28:27 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=363 --- source-poppler0.59.0.patch | 8 ++++---- texlive.changes | 5 +++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/source-poppler0.59.0.patch b/source-poppler0.59.0.patch index 92d5635..5515a47 100644 --- a/source-poppler0.59.0.patch +++ b/source-poppler0.59.0.patch @@ -717,7 +717,7 @@ + +int +read_pdf_info(char *image_name, char *page_name, int page_num, -+ int pagebox_spec, int minor_pdf_version_wanted, ++ int pagebox_spec, int major_pdf_version_wanted, int minor_pdf_version_wanted, + int pdf_inclusion_errorlevel) +{ + PdfDocument *pdf_doc; @@ -745,16 +745,16 @@ +#ifdef POPPLER_VERSION + pdf_major_version_found = pdf_doc->doc->getPDFMajorVersion(); + pdf_minor_version_found = pdf_doc->doc->getPDFMinorVersion(); -+ if ((pdf_major_version_found > 1) ++ if ((pdf_major_version_found > major_pdf_version_wanted) + || (pdf_minor_version_found > minor_pdf_version_wanted)) { + const char *msg = + "PDF inclusion: found PDF version <%d.%d>, but at most version <1.%d> allowed"; + if (pdf_inclusion_errorlevel > 0) { -+ pdftex_fail(msg, pdf_major_version_found, pdf_minor_version_found, minor_pdf_version_wanted); ++ pdftex_fail(msg, pdf_major_version_found, pdf_minor_version_found, major_pdf_version_wanted, minor_pdf_version_wanted); + } else if (pdf_inclusion_errorlevel < 0) { + ; /* do nothing */ + } else { /* = 0, give warning */ -+ pdftex_warn(msg, pdf_major_version_found, pdf_minor_version_found, minor_pdf_version_wanted); ++ pdftex_warn(msg, pdf_major_version_found, pdf_minor_version_found, major_pdf_version_wanted, minor_pdf_version_wanted); + } + } +#else diff --git a/texlive.changes b/texlive.changes index 929d9d0..5fe4062 100644 --- a/texlive.changes +++ b/texlive.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 22 10:27:33 UTC 2020 - Dr. Werner Fink + +- Adopt patch source-poppler0.59.0.patch to latest use of read_pdf_info() + ------------------------------------------------------------------- Wed Apr 22 09:49:08 UTC 2020 - Dr. Werner Fink