Bugzilla – Attachment 79479 Details for
Bug 140485
konqueror does not find all NS plugins
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
kdebase3 patch
nsplugins.patch (text/plain), 965 bytes, created by
Lubos Lunak
on 2006-04-21 16:04:48 UTC
(
hide
)
Description:
kdebase3 patch
Filename:
MIME Type:
Creator:
Lubos Lunak
Created:
2006-04-21 16:04:48 UTC
Size:
965 bytes
patch
obsolete
>--- nsplugins/pluginscan.cpp.sav 2006-01-23 14:43:08.000000000 +0100 >+++ nsplugins/pluginscan.cpp 2006-04-21 17:58:27.000000000 +0200 >@@ -54,6 +54,7 @@ > #include <klocale.h> > > #include "sdk/npupp.h" >+#include <X11/Intrinsic.h> > > static int showProgress=0; > >@@ -93,6 +94,16 @@ extern "C" void __pure_virtual() > } > #endif > >+// The only purpose of this function is just to pull in libXt. >+// Using --enable-new-ldflags makes the linker use --as-needed and since >+// otherwise nspluginscan wouldn't actually use libXt it wouldn't be really >+// linked against it. However some plugins are not linked against libXt >+// yet expect to have it available in the hosting application. >+void pullInXt() >+{ >+ XtFree( NULL ); >+} >+ > KConfig *infoConfig = 0; > > >@@ -585,6 +596,7 @@ int main( int argc, char **argv ) > > sigaction( SIGCHLD, &act, 0 ); > >+ pullInXt(); > > // set up the paths used to look for plugins > QStringList searchPaths = getSearchPaths();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 140485
: 79479