public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in www-plugins/lightspark/files: lightspark-0.4.2.2-fix-disabled-plugin.diff
@ 2010-07-31 14:50 Chi-Thanh Christopher Nguyen (chithanh)
  0 siblings, 0 replies; 2+ messages in thread
From: Chi-Thanh Christopher Nguyen (chithanh) @ 2010-07-31 14:50 UTC (permalink / raw
  To: gentoo-commits

chithanh    10/07/31 14:50:36

  Added:                lightspark-0.4.2.2-fix-disabled-plugin.diff
  Log:
  Version bump, fixes bug #330177
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  www-plugins/lightspark/files/lightspark-0.4.2.2-fix-disabled-plugin.diff

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/files/lightspark-0.4.2.2-fix-disabled-plugin.diff?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/files/lightspark-0.4.2.2-fix-disabled-plugin.diff?rev=1.1&content-type=text/plain

Index: lightspark-0.4.2.2-fix-disabled-plugin.diff
===================================================================
=== modified file 'swf.cpp'
--- swf.cpp	2010-07-28 22:52:35 +0000
+++ swf.cpp	2010-07-29 16:21:13 +0000
@@ -497,6 +497,7 @@
 	//Check if we should fall back on gnash
 	if(useGnashFallback && engine==GTKPLUG && vmVersion!=AVM2)
 	{
+#ifdef COMPILE_PLUGIN
 		if(dumpedSWFPath.len()==0) //The path is not known yet
 		{
 			waitingForDump=true;
@@ -565,11 +566,19 @@
 			stopEngines();
 			return;
 		}
+#else 
+		//COMPILE_PLUGIN not defined
+		throw new UnsupportedException("GNASH fallback not available when not built with COMPILE_PLUGIN");
+#endif
 	}
 
 	if(engine==GTKPLUG) //The engines must be created int the context of the main thread
 	{
+#ifdef COMPILE_PLUGIN
 		npapiParams.helper(npapiParams.helperArg, (helper_t)delayedCreation, this);
+#else
+		throw new UnsupportedException("Plugin engine not available when not built with COMPILE_PLUGIN");
+#endif
 	}
 	else //SDL engine
 	{







^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in www-plugins/lightspark/files: lightspark-0.4.2.2-fix-disabled-plugin.diff
@ 2010-08-12 10:03 Chi-Thanh Christopher Nguyen (chithanh)
  0 siblings, 0 replies; 2+ messages in thread
From: Chi-Thanh Christopher Nguyen (chithanh) @ 2010-08-12 10:03 UTC (permalink / raw
  To: gentoo-commits

chithanh    10/08/12 10:03:42

  Removed:              lightspark-0.4.2.2-fix-disabled-plugin.diff
  Log:
  Version bump, fixes bug #331757. Remove old
  (Portage version: 2.2_rc67/cvs/Linux x86_64)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-12 10:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-31 14:50 [gentoo-commits] gentoo-x86 commit in www-plugins/lightspark/files: lightspark-0.4.2.2-fix-disabled-plugin.diff Chi-Thanh Christopher Nguyen (chithanh)
  -- strict thread matches above, loose matches on Subject: below --
2010-08-12 10:03 Chi-Thanh Christopher Nguyen (chithanh)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox