rpms/nspluginwrapper/F-9 nspluginwrapper-1.1.0-visual-id.patch, NONE, 1.1 nspluginwrapper.spec, 1.52, 1.53

Martin Stransky (stransky) fedora-extras-commits at redhat.com
Mon Aug 4 07:46:55 UTC 2008


Author: stransky

Update of /cvs/pkgs/rpms/nspluginwrapper/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18941

Modified Files:
	nspluginwrapper.spec 
Added Files:
	nspluginwrapper-1.1.0-visual-id.patch 
Log Message:
* Mon Aug 04 2008 Martin Stransky <stransky at redhat.com> 1.1.0-5
- Added fix for #456432 -(Windowless Crash) Flash 10 w/ Firefox 3



nspluginwrapper-1.1.0-visual-id.patch:

--- NEW FILE nspluginwrapper-1.1.0-visual-id.patch ---
diff -up nspluginwrapper-1.1.0/src/npw-rpc.c.old nspluginwrapper-1.1.0/src/npw-rpc.c
--- nspluginwrapper-1.1.0/src/npw-rpc.c.old	2008-07-06 17:33:14.000000000 +0200
+++ nspluginwrapper-1.1.0/src/npw-rpc.c	2008-08-01 20:45:33.000000000 +0200
@@ -381,7 +381,8 @@ static int do_send_NPSetWindowCallbackSt
 	  return error;
 	if ((error = rpc_message_send_int32(message, ws_info->type)) < 0)
 	  return error;
-	if ((error = rpc_message_send_uint32(message, XVisualIDFromVisual(ws_info->visual))) < 0)
+	uint32_t visual_id = ws_info->visual != NULL ? XVisualIDFromVisual(ws_info->visual) : 0;
+	if ((error = rpc_message_send_uint32(message, visual_id)) < 0)
 	  return error;
 	if ((error = rpc_message_send_uint32(message, ws_info->colormap)) < 0)
 	  return error;


Index: nspluginwrapper.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nspluginwrapper/F-9/nspluginwrapper.spec,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- nspluginwrapper.spec	21 Jul 2008 08:06:04 -0000	1.52
+++ nspluginwrapper.spec	4 Aug 2008 07:46:25 -0000	1.53
@@ -70,7 +70,7 @@
 Summary:	A compatibility layer for Netscape 4 plugins
 Name:		nspluginwrapper
 Version:	1.1.0
-Release:	4%{?dist}
+Release:	5%{?dist}
 Source0:	%{name}-%{version}%{?svndate:-%{svndate}}.tar.bz2
 Source1:        %{plugin_config_name}.tar.gz 
 Source2:        plugin-config.sh.in
@@ -80,6 +80,7 @@
 Patch3:         nspluginwrapper-1.1.0-fork.patch
 Patch4:         nspluginwrapper-0.9.91.5-shutdown.patch
 Patch5:         nspluginwrapper-0.9.91.5-sleep.patch
+Patch6:         nspluginwrapper-1.1.0-visual-id.patch
 Patch100:       plugin-config-setuid.patch
 License:	GPL
 Group:		Networking/WWW
@@ -108,6 +109,7 @@
 %patch3 -p1 -b .fork
 %patch4 -p1 -b .shutdown
 %patch5 -p1 -b .sleep
+%patch6 -p1 -b .visual_id
 
 pushd %plugin_config_name
 %patch100 -p2
@@ -238,6 +240,9 @@
 %config %{_sysconfdir}/sysconfig/%{name}
 
 %changelog
+* Mon Aug 04 2008 Martin Stransky <stransky at redhat.com> 1.1.0-5
+- Added fix for #456432 -(Windowless Crash) Flash 10 w/ Firefox 3
+
 * Mon Jul 21 2008 Martin Stransky <stransky at redhat.com> 1.1.0-4
 - Removed gecko-libs from requieres (it's not needed now)
 




More information about the fedora-extras-commits mailing list