Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37816311
en ru br
Репозитории ALT
S:4.8.7-alt25
5.1: 4.6.3-alt1.M51.1
4.1: 4.4.3-alt1.M41.1
4.0: 4.3.4-alt5.M40.1
3.0: 4.0.1-alt1
+updates:4.0.1-alt2
+backports:4.2.3-alt7.1.M30
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: qt4

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: qt-4.4.0-alt-fix-ssl-loading.patch
Скачать


--- qt-all-opensource-src-4.4.0-rc1/src/network/ssl/qsslsocket_openssl_symbols.cpp~	2008-04-02 20:34:00 +0400
+++ qt-all-opensource-src-4.4.0-rc1/src/network/ssl/qsslsocket_openssl_symbols.cpp	2008-04-10 17:10:03 +0400
@@ -301,6 +301,7 @@ static bool libGreaterThan(const QString
 
 static QStringList findAllLibSsl()
 {
+#if 0
     QStringList paths;
 #  ifdef Q_OS_DARWIN
     paths = QString::fromLatin1(qgetenv("DYLD_LIBRARY_PATH"))
@@ -320,6 +321,10 @@ static QStringList findAllLibSsl()
         foreach (const QString &entry, entryList)
             foundSsls << path + QLatin1Char('/') + entry;
     }
+#else
+    QStringList foundSsls;
+    foundSsls << "/lib/libssl.so.6" << "/lib/libssl.so.4" << "/usr/lib/libssl.so";
+#endif
 
     return foundSsls;
 }
@@ -378,6 +383,7 @@ static QPair<QLibrary*, QLibrary*> loadO
     // DT_RPATH tags on our library header as well as other system-specific search
     // paths. See the man page for dlopen(3) on your system for more information.
 
+#if 0
 #ifdef SHLIB_VERSION_NUMBER
     // first attempt: the canonical name is libssl.so.<SHLIB_VERSION_NUMBER>
     libssl->setFileNameAndVersion(QLatin1String("ssl"), QLatin1String(SHLIB_VERSION_NUMBER));
@@ -401,6 +407,7 @@ static QPair<QLibrary*, QLibrary*> loadO
         libssl->unload();
         libcrypto->unload();
     }
+#endif
 
     // third attempt: loop on the most common library paths and find libssl
     QStringList sslList = findAllLibSsl();
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin