FreeBSD Bugzilla – Attachment 170040 Details for
Bug 209324
net/qt5-network ssl fix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add SSL loader paths
qt5-network.patch (text/plain), 2.23 KB, created by
groot
on 2016-05-06 09:12:46 UTC
(
hide
)
Description:
Add SSL loader paths
Filename:
MIME Type:
Creator:
groot
Created:
2016-05-06 09:12:46 UTC
Size:
2.23 KB
patch
obsolete
>diff -Nru -I '$FreeBSD.*$' /zbigone/src/ports-playground/net/qt5-network/files/patch-src_network_ssl_qsslsocket__openssl__symbols.cpp /zbigone/src/area51/trunk/QT/net/qt5-network/files/patch-src_network_ssl_qsslsocket__openssl__symbols.cpp >--- /zbigone/src/ports-playground/net/qt5-network/files/patch-src_network_ssl_qsslsocket__openssl__symbols.cpp 1970-01-01 01:00:00.000000000 +0100 >+++ /zbigone/src/area51/trunk/QT/net/qt5-network/files/patch-src_network_ssl_qsslsocket__openssl__symbols.cpp 2016-02-21 11:07:47.321164536 +0100 >@@ -0,0 +1,24 @@ >+--- src/network/ssl/qsslsocket_openssl_symbols.cpp.orig 2015-02-17 04:56:38 UTC >++++ src/network/ssl/qsslsocket_openssl_symbols.cpp >+@@ -611,8 +611,8 @@ static QPair<QLibrary*, QLibrary*> loadO >+ #endif >+ #if defined(SHLIB_VERSION_NUMBER) && !defined(Q_OS_QNX) // on QNX, the libs are always libssl.so and libcrypto.so >+ // first attempt: the canonical name is libssl.so.<SHLIB_VERSION_NUMBER> >+- libssl->setFileNameAndVersion(QLatin1String("ssl"), QLatin1String(SHLIB_VERSION_NUMBER)); >+- libcrypto->setFileNameAndVersion(QLatin1String("crypto"), QLatin1String(SHLIB_VERSION_NUMBER)); >++ libssl->setFileNameAndVersion(QLatin1String("/usr/local/libssl"), QLatin1String(SHLIB_VERSION_NUMBER)); >++ libcrypto->setFileNameAndVersion(QLatin1String("/usr/local/libcrypto"), QLatin1String(SHLIB_VERSION_NUMBER)); >+ if (libcrypto->load() && libssl->load()) { >+ // libssl.so.<SHLIB_VERSION_NUMBER> and libcrypto.so.<SHLIB_VERSION_NUMBER> found >+ return pair; >+@@ -629,8 +629,8 @@ static QPair<QLibrary*, QLibrary*> loadO >+ // OS X's /usr/lib/libssl.dylib, /usr/lib/libcrypto.dylib will be picked up in the third >+ // attempt, _after_ <bundle>/Contents/Frameworks has been searched. >+ // iOS does not ship a system libssl.dylib, libcrypto.dylib in the first place. >+- libssl->setFileNameAndVersion(QLatin1String("ssl"), -1); >+- libcrypto->setFileNameAndVersion(QLatin1String("crypto"), -1); >++ libssl->setFileNameAndVersion(QLatin1String("/usr/local/lib/libssl"), -1); >++ libcrypto->setFileNameAndVersion(QLatin1String("/usr/local/lib/libcrypto"), -1); >+ if (libcrypto->load() && libssl->load()) { >+ // libssl.so.0 and libcrypto.so.0 found >+ return pair;
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 209324
: 170040