From: | "PaweA Hajdan (phajdan.jr)" <phajdan.jr@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in www-client/chromium/files: chromium-gecko-mediaplayer-r0.patch |
Date: | Sat, 09 Oct 2010 14:04:16 |
Message-Id: | 20101009140137.8DDBB2004E@flycatcher.gentoo.org |
1 | phajdan.jr 10/10/09 14:01:37 |
2 | |
3 | Added: chromium-gecko-mediaplayer-r0.patch |
4 | Log: |
5 | Add optional support for www-plugins/gecko-mediaplayer, as suggested by sandrain in Gentoo Forums. |
6 | (Portage version: 2.1.8.3/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 www-client/chromium/files/chromium-gecko-mediaplayer-r0.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/files/chromium-gecko-mediaplayer-r0.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/files/chromium-gecko-mediaplayer-r0.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: chromium-gecko-mediaplayer-r0.patch |
15 | =================================================================== |
16 | --- webkit/glue/plugins/plugin_list.cc_posix.orig 2010-10-09 11:05:44.000000000 +0200 |
17 | +++ webkit/glue/plugins/plugin_list_posix.cc 2010-10-09 11:06:35.000000000 +0200 |
18 | @@ -89,7 +89,9 @@ |
19 | bool IsBlacklistedPlugin(const FilePath& path) { |
20 | const char* kBlackListedPlugins[] = { |
21 | "nppdf.so", // Adobe PDF |
22 | +#ifndef GENTOO_CHROMIUM_ENABLE_GECKO_MEDIAPLAYER |
23 | "gecko-mediaplayer", // Gecko Media Player |
24 | +#endif // GENTOO_CHROMIUM_ENABLE_GECKO_MEDIAPLAYER |
25 | }; |
26 | std::string filename = path.BaseName().value(); |
27 | for (size_t i = 0; i < arraysize(kBlackListedPlugins); i++) { |