FreeBSD Bugzilla – Attachment 210225 Details for
Bug 242863
www/h2o: Fails to build with security/libressl 3.0.2: error: static declaration of 'RSA_*' follows non-static declaration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn-diff-h2o-libressl_v2
svn-diff-h2o-libressl (text/plain), 2.12 KB, created by
Walter Schwarzenfeld
on 2019-12-25 14:50:31 UTC
(
hide
)
Description:
svn-diff-h2o-libressl_v2
Filename:
MIME Type:
Creator:
Walter Schwarzenfeld
Created:
2019-12-25 14:50:31 UTC
Size:
2.12 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 520822) >+++ Makefile (working copy) >@@ -4,6 +4,7 @@ > PORTNAME= h2o > DISTVERSIONPREFIX= v > DISTVERSION= 2.2.6 >+PORTREVISION= 1 > CATEGORIES= www > > MAINTAINER= dch@FreeBSD.org >@@ -22,7 +23,7 @@ > USES= cmake:noninja compiler:c11 cpe perl5 shebangfix ssl pkgconfig > USE_GITHUB= yes > USE_PERL5= run >-USE_LDCONFIG= yes >+USE_LDCONFIG= yes > > CPE_VENDOR= h2o_project > >Index: files/patch-deps_neverbleed-neverbleed.c >=================================================================== >--- files/patch-deps_neverbleed-neverbleed.c (nonexistent) >+++ files/patch-deps_neverbleed-neverbleed.c (working copy) >@@ -0,0 +1,39 @@ >+--- deps/neverbleed/neverbleed.c.orig 2019-12-25 14:31:51 UTC >++++ deps/neverbleed/neverbleed.c >+@@ -631,8 +631,11 @@ static int sign_stub(struct expbuf_t *buf) >+ } >+ >+ #if !OPENSSL_1_1_API >+- >++#if defined(LIBRESSL_VERSION_NUMBER) >++void RSA_get0_key(const RSA *rsa, const BIGNUM **n, const BIGNUM **e, const BIGNUM **d) >++#else >+ static void RSA_get0_key(const RSA *rsa, const BIGNUM **n, const BIGNUM **e, const BIGNUM **d) >++#endif >+ { >+ if (n) { >+ *n = rsa->n; >+@@ -647,7 +650,11 @@ static void RSA_get0_key(const RSA *rsa, const BIGNUM >+ } >+ } >+ >++#if defined(LIBRESSL_VERSION_NUMBER) >++int RSA_set0_key(RSA *rsa, BIGNUM *n, BIGNUM *e, BIGNUM *d) >++#else >+ static int RSA_set0_key(RSA *rsa, BIGNUM *n, BIGNUM *e, BIGNUM *d) >++#endif >+ { >+ if (n == NULL || e == NULL) { >+ return 0; >+@@ -663,7 +670,11 @@ static int RSA_set0_key(RSA *rsa, BIGNUM *n, BIGNUM *e >+ return 1; >+ } >+ >++#if defined(LIBRESSL_VERSION_NUMBER) >++void RSA_set_flags(RSA *r, int flags) >++#else >+ static void RSA_set_flags(RSA *r, int flags) >++#endif >+ { >+ r->flags |= flags; >+ } > >Property changes on: files/patch-deps_neverbleed-neverbleed.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 242863
:
210208
|
210225
|
210249
|
210656