[Poppler-bugs] [Bug 106388] New: [patch] poppler-0.64.0 fails to compile when nss is present: ‘PRBool’ has not been declared

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 3 18:14:11 UTC 2018


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

            Bug ID: 106388
           Summary: [patch] poppler-0.64.0 fails to compile when nss is
                    present: ‘PRBool’ has not been declared
           Product: poppler
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: williambader at hotmail.com

Created attachment 139323
  --> https://bugs.freedesktop.org/attachment.cgi?id=139323&action=edit
patch to fix the compiler errors

This happens when compiling for x86_64 on Fedora 27 and CentOS 7.
I get compile errors like
/usr/include/nss3/hasht.h:48:29: error: ‘PRBool’ has not been declared
     void (*destroy)(void *, PRBool);
I needed to add #include <prtypes.h> to poppler/SignatureInfo.cc,
qt5/src/poppler-form.cc, and utils/pdfsig.cc.
I attached a patch.

-- 
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/20180503/4df8b308/attachment.html>


More information about the Poppler-bugs mailing list