[patch] poppler-0.64.0 fails to compile when nss is present: ‘PRBool’ has not been declared
Submitted by William Bader
Assigned to poppler-bugs
Created attachment 139323 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.
Patch 139323, "patch to fix the compiler errors":