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

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221805

            Bug ID: 221805
           Summary: [PATCH] graphics/poppler-qt5 causes dependent port to
                    fail with undefined time_t
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: madpilot@FreeBSD.org
          Assignee: gnome@FreeBSD.org
          Keywords: patch
             Flags: maintainer-feedback?(gnome@FreeBSD.org)

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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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