Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 500770 Details for
Bug 605026
www-client/elinks-0.12_pre6-r2 with dev-libs/openssl-1.1.0c - configure: error: OpenSSL not found - conftest.c:151: undefined reference to `SSLeay_add_ssl_algorithms'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
elinks-0.12_pre6-r3-openssl-1.1.0.patch
elinks-0.12_pre6-r3-openssl-1.1.0.patch (text/plain), 1.26 KB, created by
Mark Wright
on 2017-10-29 11:15:37 UTC
(
hide
)
Description:
elinks-0.12_pre6-r3-openssl-1.1.0.patch
Filename:
MIME Type:
Creator:
Mark Wright
Created:
2017-10-29 11:15:37 UTC
Size:
1.26 KB
patch
obsolete
>--- elinks-0.12pre6-orig/configure.in 2017-10-29 21:52:52.000000000 +1100 >+++ elinks-0.12pre6/configure.in 2017-10-29 22:04:18.428702527 +1100 >@@ -1026,6 +1026,9 @@ > if test "$cf_result" != yes; then > AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <openssl/ssl.h>]], [[SSLeay_add_ssl_algorithms()]])],[cf_result=yes],[cf_result=no]) > fi >+ if test "$cf_result" != yes; then >+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <openssl/crypto.h>]], [[OpenSSL_version_num()]])],[cf_result=yes],[cf_result=no]) >+ fi > fi > done > >@@ -1040,6 +1043,8 @@ > > CFLAGS="$CFLAGS_X" > AC_SUBST(OPENSSL_CFLAGS) >+ >+ AC_CHECK_FUNCS([SSL_set_options] [SSL_get_SSL_CTX]) > fi > fi > >--- elinks-0.12pre6-orig/src/network/ssl/ssl.c 2017-10-29 21:52:52.000000000 +1100 >+++ elinks-0.12pre6/src/network/ssl/ssl.c 2017-10-29 22:04:18.429702527 +1100 >@@ -7,6 +7,7 @@ > #ifdef CONFIG_OPENSSL > #include <openssl/ssl.h> > #include <openssl/rand.h> >+#include <openssl/opensslv.h> > #elif defined(CONFIG_GNUTLS) > #include <gnutls/gnutls.h> > #include <gnutls/x509.h> >@@ -61,7 +62,9 @@ > } > #endif > >+#if OPENSSL_VERSION_NUMBER < 0x10100000L > SSLeay_add_ssl_algorithms(); >+#endif > context = SSL_CTX_new(SSLv23_client_method()); > SSL_CTX_set_options(context, SSL_OP_ALL); > SSL_CTX_set_default_verify_paths(context);
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 605026
:
459136
|
459138
|
459238
|
459240
|
459242
| 500770 |
502474
|
522472