[PATCH v2] [BZ 17956] Fix build failure due to missing definitions from header file nss/nss.h when Mozilla NSS is used for cryptography

guido guido guido@trentalancia.net
Tue May 31 22:00:00 GMT 2016


Hello Adhemerval.

On Tue, 31/05/2016 at 17.57 -0300, Adhemerval Zanella wrote:

[...]

> Btw, I can build GLIBC --enable-nss-crypt on Fedora 23 without any
> patch.  I presume it is due some distro changes, but your initial
> configure patch also does not break it (which is good).

Yes, it must be due to distribution patches, most probably patches to those
Mozilla NSS header files that use the Mozilla NSPR header files.

For example, as already pointed out:

#include "prtypes.h" ===> #include <nspr/prtypes.h>

I suppose the Mozilla NSS (and NSPR) library hasn't been initially designed to
be used as a standalone library.

> Again, I do not think this patch is correct.

If you think this patch is not correct, simply use the other one then.

Best regards,

Guido Trentalancia



More information about the Libc-alpha mailing list