[Bug 221805] [PATCH] graphics/poppler-qt5 causes dependent port to fail with undefined time_t

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 25 15:51:55 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221805

            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 at FreeBSD.org
          Reporter: madpilot at FreeBSD.org
          Assignee: gnome at FreeBSD.org
          Keywords: patch
             Flags: maintainer-feedback?(gnome at FreeBSD.org)

Created attachment 185756
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=185756&action=edit
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.

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


More information about the freebsd-gnome mailing list