Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2017 15:51:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 221805] [PATCH] graphics/poppler-qt5 causes dependent port to fail with undefined time_t
Message-ID:  <bug-221805-6497-mt1PfQmQDG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-221805-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-221805-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Guido Falsi <madpilot@FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to gnome@FreeBSD.o=
rg:
Bug 221805: [PATCH] graphics/poppler-qt5 causes dependent port to fail with
undefined time_t
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221805



--- Description ---
Created attachment 185756
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185756&action=
=3Dedit
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 na=
me
'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 na=
me
'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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221805-6497-mt1PfQmQDG>