rpms/nspluginwrapper/devel nspluginwrapper-0.9.91.5-npviewer-gthread.patch, NONE, 1.1 nspluginwrapper.spec, 1.33, 1.34

Warren Togami 砥上勇 (wtogami) fedora-extras-commits at redhat.com
Tue Dec 25 18:26:44 UTC 2007


Author: wtogami

Update of /cvs/pkgs/rpms/nspluginwrapper/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7409

Modified Files:
	nspluginwrapper.spec 
Added Files:
	nspluginwrapper-0.9.91.5-npviewer-gthread.patch 
Log Message:
- Make nsviewer.bin initialized for multithreading, fixes #360891

NOTE:
-lgthread-2.0 was added to npviewer_LDFLAGS.  Perhaps there is a cleaner way to do this?


nspluginwrapper-0.9.91.5-npviewer-gthread.patch:

--- NEW FILE nspluginwrapper-0.9.91.5-npviewer-gthread.patch ---
diff -urN nspluginwrapper-0.9.91.5.orig/src/npw-viewer.c nspluginwrapper-0.9.91.5/src/npw-viewer.c
--- nspluginwrapper-0.9.91.5.orig/src/npw-viewer.c	2007-12-24 16:02:34.000000000 -0500
+++ nspluginwrapper-0.9.91.5/src/npw-viewer.c	2007-12-24 16:03:03.000000000 -0500
@@ -3144,6 +3144,7 @@
   XtToolkitInitialize();
   x_app_context = XtCreateApplicationContext();
   x_display = XtOpenDisplay(x_app_context, NULL, "npw-viewer", "npw-viewer", NULL, 0, &argc, argv);
+  g_thread_init(NULL);
   gtk_init(&argc, &argv);
 
   // Initialize RPC communication channel


Index: nspluginwrapper.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nspluginwrapper/devel/nspluginwrapper.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- nspluginwrapper.spec	20 Dec 2007 16:14:31 -0000	1.33
+++ nspluginwrapper.spec	25 Dec 2007 18:26:07 -0000	1.34
@@ -75,7 +75,7 @@
 Summary:	A compatibility layer for Netscape 4 plugins
 Name:		nspluginwrapper
 Version:	0.9.91.5
-Release:	17%{?dist}
+Release:	18%{?dist}
 Source0:	%{name}-%{version}%{?svndate:-%{svndate}}.tar.bz2
 Source1:        %{plugin_config_name}.tar.gz 
 Source2:        plugin-config.sh.in
@@ -86,6 +86,7 @@
 Patch4:         nspluginwrapper-0.9.91.5-runtime-restart.patch
 Patch5:         nspluginwrapper-0.9.91.5-fork.patch
 Patch6:         nspluginwrapper-0.9.91.5-xulrunner.patch
+Patch7:         nspluginwrapper-0.9.91.5-npviewer-gthread.patch
 Patch10:        plugin-config-setuid.patch
 License:	GPL
 Group:		Networking/WWW
@@ -121,6 +122,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1 -b .xl
+%patch7 -p1
 
 pushd %plugin_config_name
 %patch10 -p2
@@ -243,6 +245,9 @@
 %{_sysconfdir}/sysconfig/%{name}
 
 %changelog
+* Mon Dec 24 2007 Warren Togami <wtogami at redhat.com> 0.9.91.5-18
+- Make nsviewer.bin initialized for multithreading, fixes #360891
+
 * Tue Dec 20 2007 Martin Stransky <stransky at redhat.com> 0.9.91.5-17
 - disabled xpcom support - it causes more troubles than advantages
 




More information about the fedora-extras-commits mailing list