Created attachment 185756 [details] Fix time_t undefined Hi, I use print/qpdfviewer with the QT5 option. After the last update to poppler it is failing with the following error(from poudriere): --- objects-pdf/pdfmodel.o --- In file included from sources/pdfmodel.cpp:40: /usr/local/include/poppler/qt5/poppler-form.h:427:2: error: unknown type name 'time_t' time_t signingTime() const; ^ --- objects-pdf/formfieldwidgets.o --- In file included from sources/formfieldwidgets.cpp:27: /usr/local/include/poppler/qt5/poppler-form.h:427:2: error: unknown type name 'time_t' time_t signingTime() const; ^ I created a quick fix which includes <ctime> and seems to work. Not sure if it is the correct fix though.
Feedback please!
I'm still using this patch in my poudriere. So problem is still relevant.
A commit references this bug: Author: madpilot Date: Tue Apr 10 18:46:48 UTC 2018 New revision: 467004 URL: https://svnweb.freebsd.org/changeset/ports/467004 Log: Fix graphics/poppler-qt5 provided include file, causing dependent ports to fail when including it. PR: 221805 Submitted by: me Approved by: gnome (kwm) Changes: head/graphics/poppler/Makefile head/graphics/poppler/files/patch-qt5_src_poppler-form.h head/graphics/poppler-qt5/Makefile
Committed.