[tex-k] poppler-0.84 compatibility problem

Akira Kakuto kakuto at w32tex.org
Mon Dec 30 01:47:44 CET 2019


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



More information about the tex-k mailing list