[poppler] Cross compiling poppler 0.63.0 with mingw fails

luigi scarso luigi.scarso at gmail.com
Wed Mar 21 13:22:47 UTC 2018


On Wed, Mar 21, 2018 at 2:02 PM, suzuki toshiya
<mpsuzuki at hiroshima-u.ac.jp> wrote:
> Dear Luigi,
>
> Also I am sorry that st_mtim issue made you troubled.
> and, thanks to Adam for forwarding this.
>
>>> Unfortunately,
>>> HAVE_STRUCT_STAT_ST_MTIM is defined by mean our autoconf  builder system
>>> (texlive doesn't use cmake) so the patch cannot  port as is into the
>>> source code of poppler
>>> (presuming that the patch itself is correct, of course).
>
> I want to know more about this. If I can provide a patch for
> autotool to check st_mtim and set the macro appropriately,
> it could be a solution? Although solving the problem within
> poppler is better solution, if an external patch for texlive
> can help, I would try.

In texlive we already have a check for st_mtim,
(see configure.ac in
https://www.tug.org/svn/texlive/trunk/Build/source/libs/poppler/?pathrev=47061
)
but given that we are freezing the code it's better if we use gfile.cc
as is in  poppler now.
Cygwin and msys both seem to support st_mtim, the check
#ifndef _WIN32
at line 67 of gfile.cc
seems to be a bit restrictive.


-- 
luigi


More information about the poppler mailing list