mirror of
https://git.freebsd.org/ports.git
synced 2025-07-08 12:59:17 -04:00
4.7.2. The official release notes can be found at: http://kde.org/announcements/announce-4.7.2.php This release ships with many improvements. Read more about them here: http://FreeBSD.kde.org/news.php#itemKDESC472availableinports We'd like to say thanks to all testers and contributors, especially to lwhsu@ for his effort on hosting our test packages. PR: 156293 [1] 159219 [2] 160164 [3] Submitted by: Oleg Sidorkin <osidorkin@gmail.com> [1] Alvaro Castillo <gobledb@gmail.com> [2] dkeav04@gmail.com [3] Tested by: exp-run via pav
20 lines
743 B
C++
20 lines
743 B
C++
--- ./kpythonpluginfactory/kpythonpluginfactory.cpp.orig 2011-05-20 22:33:41.000000000 +0200
|
|
+++ ./kpythonpluginfactory/kpythonpluginfactory.cpp 2011-09-01 16:43:57.371033306 +0200
|
|
@@ -18,6 +18,8 @@
|
|
Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
+#include <dlfcn.h>
|
|
+
|
|
#include <QtCore/QCoreApplication>
|
|
#include <QFileInfo>
|
|
#include <QDir>
|
|
@@ -305,6 +307,8 @@
|
|
// symbols global and available for later loaded libraries/module.
|
|
QLibrary *LoadPythonLibrary()
|
|
{
|
|
+ /* Promote this library (and thus libpython) to RTLD_GLOBAL) */
|
|
+ dlopen("kpythonpluginfactory.so", RTLD_NOLOAD | RTLD_GLOBAL);
|
|
QLibrary *pythonLib = new QLibrary();
|
|
pythonLib->setLoadHints(QLibrary::ExportExternalSymbolsHint);
|
|
pythonLib->setFileName(LIB_PYTHON);
|