https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232784
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #5 from [email protected] --- Similar problem with libressl: #define M_ASN1_IA5STRING_new() ASN1_IA5STRING_new() ^ /usr/local/include/openssl/asn1.h:636:9: note: previous definition is here #define M_ASN1_IA5STRING_new() (ASN1_IA5STRING *)\ ^ /ram/usr/ports/devel/qca/work-qt4/qca-2.1.3/plugins/qca-ossl/qca-ossl.cpp:2835:4: error: use of undeclared identifier 'RSA_meth_set_sign'; did you mean 'DSA_meth_set_sign'? RSA_meth_set_sign(ops, NULL); ^~~~~~~~~~~~~~~~~ DSA_meth_set_sign /usr/local/include/openssl/dsa.h:275:5: note: 'DSA_meth_set_sign' declared here int DSA_meth_set_sign(DSA_METHOD *meth, ^ /ram/usr/ports/devel/qca/work-qt4/qca-2.1.3/plugins/qca-ossl/qca-ossl.cpp:2835:22: error: cannot initialize a parameter of type 'DSA_METHOD *' (aka 'dsa_method *') with an lvalue of type 'RSA_METHOD *' (aka 'rsa_meth_st *') RSA_meth_set_sign(ops, NULL); ^~~ /usr/local/include/openssl/dsa.h:275:35: note: passing argument to parameter 'meth' here int DSA_meth_set_sign(DSA_METHOD *meth, ^ /ram/usr/ports/devel/qca/work-qt4/qca-2.1.3/plugins/qca-ossl/qca-ossl.cpp:2839:4: error: use of undeclared identifier 'RSA_meth_set_verify'; did you mean 'RSA_meth_set_finish'? RSA_meth_set_verify(ops, NULL); //pkcs11_rsa_verify ^~~~~~~~~~~~~~~~~~~ RSA_meth_set_finish /usr/local/include/openssl/rsa.h:442:5: note: 'RSA_meth_set_finish' declared here int RSA_meth_set_finish(RSA_METHOD *meth, int (*finish)(RSA *rsa)); ^ /ram/usr/ports/devel/qca/work-qt4/qca-2.1.3/plugins/qca-ossl/qca-ossl.cpp:2860:11: error: use of undeclared identifier 'RSA_F_RSA_OSSL_PRIVATE_DECRYPT' RSAerr(RSA_F_RSA_OSSL_PRIVATE_DECRYPT, RSA_R_UNKNOWN_PADDING_TYPE); ^ 1 warning and 4 errors generated. ninja: build stopped: subcommand failed. ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/qca *** Error code 1 Stop. make: stopped in /usr/ports/devel/qca if I remove patch-plugins_qca-ossl_qca-ossl.cpp it builds fine. -- You are receiving this mail because: You are the assignee for the bug.
