Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-plugins/gecko-mediaplayer/files: gecko-mediaplayer-0.9.6-xul.patch
Date: Sun, 21 Jun 2009 19:08:23
Message-Id: E1MISOr-0000eh-L0@stork.gentoo.org
1 ssuominen 09/06/21 19:08:21
2
3 Added: gecko-mediaplayer-0.9.6-xul.patch
4 Log:
5 Apply a upstream patch to fix race condition when two xulrunners are installed and wrong headers get picked up wrt #273059, thanks to Anarchy for poking me on IRC.
6 (Portage version: 2.2_rc33/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 www-plugins/gecko-mediaplayer/files/gecko-mediaplayer-0.9.6-xul.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/gecko-mediaplayer/files/gecko-mediaplayer-0.9.6-xul.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/gecko-mediaplayer/files/gecko-mediaplayer-0.9.6-xul.patch?rev=1.1&content-type=text/plain
13
14 Index: gecko-mediaplayer-0.9.6-xul.patch
15 ===================================================================
16 Upstreamized patch wrt http://bugs.gentoo.org/attachment.cgi?id=273059
17 Fixes race condition where two different xulrunners are installed, and
18 old headers get picked up by mistake.
19
20 --- src/plugin_setup.cpp-old 2009-06-09 19:48:33.518153163 -0500
21 +++ src/plugin_setup.cpp 2009-06-09 19:48:12.522163011 -0500
22 @@ -362,7 +362,7 @@
23
24 }
25
26 - nperror = NPN_GetValue (instance->mInstance, NPNVSupportsWindowless, &supportsWindowless);
27 + nperror = NPN_GetValue (instance->mInstance, (NPNVariable) 17 /* NPNVSupportsWindowless */, &supportsWindowless);
28 supportsWindowless = (nperror == NPERR_NO_ERROR) && supportsWindowless;
29 if (instance->windowless) {
30 if (supportsWindowless) {