Closed Bug 71182 Opened 23 years ago Closed 12 years ago

QNX photon port requires changes to run 4x netscape plugins

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Neutrino
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: timeless, Assigned: timeless)

References

()

Details

Attachments

(2 files)

patch is attached to message in url. please help get this (or a derivative) 
checked in.
attaching patch based on poor man's merge. *untested*
Keywords: approval, patch, review
Keywords: 4xp
*** Bug 71179 has been marked as a duplicate of this bug. ***
Depends on: 71179
um... there might be a MOZ_TOOLKIT_X11 or something define.  I should remember 
since I own the blame for whatever it is... but i'm really tired.
wtc, can you review the nspr patches? Thanks.

I've reviewed this patch before in bug #71179.  My comments
are reproduced below.

I will not add the PR_LD_GROUP flag to the NSPR prlink.h API.
It is not clear whether this loading option can be implemented
cross-platform.

You have two options:
1. If it is fine for PR_LoadLibraryWithFlags() to always pass
   RTLD_GROUP to dlopen(), you can modify
   mozilla/nsprpub/pr/src/linking/prlink.c as follows:

Index: prlink.c
===================================================================
RCS file: /cvsroot/mozilla/nsprpub/pr/src/linking/prlink.c,v
retrieving revision 3.34.2.9
diff -u -r3.34.2.9 prlink.c
--- prlink.c    2001/05/22 23:31:57     3.34.2.9
+++ prlink.c    2001/05/24 20:56:40
@@ -728,7 +728,11 @@
 #ifdef HAVE_DLL
     {
 #if defined(USE_DLFCN)
+#ifdef NTO
+    int dl_flags = RTLD_GROUP;
+#else
     int dl_flags = 0;
+#endif
     void *h;
 
     if (flags & PR_LD_LAZY) {

2. In mozilla/modules/plugin/nglsrc/nsPluginsDirUnix.cpp,
   call dlopen() directly, instead of PR_LoadLibraryWithFlags(),
   on Neutrino.
just do something.
..over to timeless because it looks like he's working on this...

Can you update the patches to the latest tip and let's get them reviewed by
module owners? Are these all the changes needed to run 4x style plugins on QNX?
Thanks!
Assignee: av → timeless
Keywords: approval, review
Assignee: timeless → timeless
QA Contact: shrir → plugins
Photon is not supported any more (that I know of), and there is no NPAPI spec for it.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: