[tex-k] poppler-0.84 compatibility problem
Mikle Kolyada
zlogene at gentoo.org
Mon Dec 30 21:25:18 CET 2019
On 30.12.2019 03:47, Akira Kakuto wrote:
> Dear Mikle,
>
>> Seems like pdftexdir/utils.c now needs cstdio included.
>
> I changed utils.c not to include poppler-config.h, because
> poppler-config.h was used only to read the definition of
> POPPLER_VERSION.
> Since the line was in
> #ifdef POPPLER_VERSION
> I assume that POPPLER_VERSION is defined properly.
>
> --- utils.c.orig Wed Nov 15 08:50:55 2017
> +++ utils.c Mon Dec 30 09:25:45 2019
> @@ -33,7 +33,7 @@
> #include "ptexlib.h"
> #include <png.h>
> #ifdef POPPLER_VERSION
> -#include <poppler-config.h>
> +/* POPPLER_VERSION should be a proper version string */
> #define xpdfVersion POPPLER_VERSION
> #define xpdfString "poppler"
> #else
>
> Thanks,
> Akira
>
Hello, Akira!
Thanks, for the patch, it worked, but it seems like the fix was
incomplete, i.e. web2c/xetexdir/XeTeX_ext.c suffers from the same
problem with the same header (and some more files, possibly).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://tug.org/pipermail/tex-k/attachments/20191230/21a13e3e/attachment.sig>
More information about the tex-k
mailing list