From 50ba783d626f105f24a2f2b81f96bf766209b376 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 22 Dec 2011 16:25:40 +0100 Subject: clean layout --- xulrunner-8.0-fix-maemo-checks-in-npapi.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 xulrunner-8.0-fix-maemo-checks-in-npapi.patch (limited to 'xulrunner-8.0-fix-maemo-checks-in-npapi.patch') diff --git a/xulrunner-8.0-fix-maemo-checks-in-npapi.patch b/xulrunner-8.0-fix-maemo-checks-in-npapi.patch new file mode 100644 index 0000000..99c9b7f --- /dev/null +++ b/xulrunner-8.0-fix-maemo-checks-in-npapi.patch @@ -0,0 +1,21 @@ +diff -up mozilla-release/dom/plugins/base/npapi.h.BAD mozilla-release/dom/plugins/base/npapi.h +--- mozilla-release/dom/plugins/base/npapi.h.BAD 2011-12-06 13:31:16.364405916 -0500 ++++ mozilla-release/dom/plugins/base/npapi.h 2011-12-06 13:31:47.131109006 -0500 +@@ -379,7 +379,7 @@ typedef enum { + , NPPVpluginCoreAnimationLayer = 1003 + #endif + +-#if (MOZ_PLATFORM_MAEMO == 5) || (MOZ_PLATFORM_MAEMO == 6) ++#if defined(MOZ_PLATFORM_MAEMO) && ((MOZ_PLATFORM_MAEMO == 5) || (MOZ_PLATFORM_MAEMO == 6)) + , NPPVpluginWindowlessLocalBool = 2002 + #endif + } NPPVariable; +@@ -432,7 +432,7 @@ typedef enum { + , NPNVsupportsCompositingCoreAnimationPluginsBool = 74656 /* TRUE if the browser supports + CA model compositing */ + #endif +-#if (MOZ_PLATFORM_MAEMO == 5) || (MOZ_PLATFORM_MAEMO == 6) ++#if defined(MOZ_PLATFORM_MAEMO) && ((MOZ_PLATFORM_MAEMO == 5) || (MOZ_PLATFORM_MAEMO == 6)) + , NPNVSupportsWindowlessLocal = 2002 + #endif + } NPNVariable; -- cgit