[Poppler-bugs] [Bug 106783] New: pdfsig does not build on Darwin

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jun 2 13:05:59 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106783

            Bug ID: 106783
           Summary: pdfsig does not build on Darwin
           Product: poppler
           Version: unspecified
          Hardware: Other
                OS: Mac OS X (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: utils
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: jtojnar at gmail.com

When building poppler-utils on Darwin, we are getting the following error:

../utils/pdfsig.cc:107:63: error: use of undeclared identifier 'basename'
    GooString *path = GooString::format(format->getCString(),
basename(filename), sig_num);
                                                              ^

The feature was introduced in
https://cgit.freedesktop.org/poppler/poppler/commit/?id=bdece3bb0c115576d23e76dc29ee43f04aafdee0

Possibly libgen.h should be included?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20180602/b934021c/attachment.html>


More information about the Poppler-bugs mailing list