FreeBSD Bugzilla – Attachment 197974 Details for
Bug 232126
irc/libircclient: Fix OpenSSL Builds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix OpenSSL 1.1.x build
libircclient (text/plain), 2.60 KB, created by
Nathan
on 2018-10-09 21:07:26 UTC
(
hide
)
Description:
Fix OpenSSL 1.1.x build
Filename:
MIME Type:
Creator:
Nathan
Created:
2018-10-09 21:07:26 UTC
Size:
2.60 KB
patch
obsolete
>irc/libircclient: Fix OpenSSL build > >PR: 231931 >Submitted by: Nathan <ndowens@yahoo.com> > >Index: irc/libircclient/Makefile >=================================================================== >--- irc/libircclient/Makefile (revision 481499) >+++ irc/libircclient/Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= libircclient > PORTVERSION= 1.7 >+PORTREVISION= 1 > CATEGORIES= irc devel > MASTER_SITES= SF > >Index: irc/libircclient/files/patch-configure >=================================================================== >--- irc/libircclient/files/patch-configure (nonexistent) >+++ irc/libircclient/files/patch-configure (working copy) >@@ -0,0 +1,50 @@ >+--- configure.orig 2018-10-09 13:13:03 UTC >++++ configure >+@@ -4580,9 +4580,9 @@ else >+ as_fn_error $? "OpenSSL not found" "$LINENO" 5 >+ fi >+ >+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 >+-$as_echo_n "checking for SSL_library_init in -lssl... " >&6; } >+-if ${ac_cv_lib_ssl_SSL_library_init+:} false; then : >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_CTX_new in -lssl" >&5 >++$as_echo_n "checking for SSL_CTX_new in -lssl... " >&6; } >++if ${ac_cv_lib_ssl_SSL_CTX_new+:} false; then : >+ $as_echo_n "(cached) " >&6 >+ else >+ ac_check_lib_save_LIBS=$LIBS >+@@ -4596,27 +4596,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ #ifdef __cplusplus >+ extern "C" >+ #endif >+-char SSL_library_init (); >++char SSL_CTX_new (); >+ int >+ main () >+ { >+-return SSL_library_init (); >++return SSL_CTX_new (); >+ ; >+ return 0; >+ } >+ _ACEOF >+ if ac_fn_c_try_link "$LINENO"; then : >+- ac_cv_lib_ssl_SSL_library_init=yes >++ ac_cv_lib_ssl_SSL_CTX_new=yes >+ else >+- ac_cv_lib_ssl_SSL_library_init=no >++ ac_cv_lib_ssl_SSL_CTX_new=no >+ fi >+ rm -f core conftest.err conftest.$ac_objext \ >+ conftest$ac_exeext conftest.$ac_ext >+ LIBS=$ac_check_lib_save_LIBS >+ fi >+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 >+-$as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } >+-if test "x$ac_cv_lib_ssl_SSL_library_init" = xyes; then : >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_CTX_new" >&5 >++$as_echo "$ac_cv_lib_ssl_SSL_CTX_new" >&6; } >++if test "x$ac_cv_lib_ssl_SSL_CTX_new" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+ #define HAVE_LIBSSL 1 >+ _ACEOF > >Property changes on: irc/libircclient/files/patch-configure >___________________________________________________________________ >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
Flags:
ndowens04
:
maintainer-approval?
(
jlaffaye
)
Actions:
View
|
Diff
Attachments on
bug 232126
: 197974