gentoo-overlay/mail-client/thunderbird/files/thunderbird-3.1-noalsa-fixup.patch

26 lines
1.1 KiB
Diff

diff -urN comm-central-orig/mozilla/content/base/src/nsDocument.cpp comm-central/mozilla/content/base/src/nsDocument.cpp
--- comm-central-orig/mozilla/content/base/src/nsDocument.cpp 2010-01-28 22:16:08.683135912 -0600
+++ comm-central/mozilla/content/base/src/nsDocument.cpp 2010-01-28 22:17:57.605126833 -0600
@@ -169,7 +169,9 @@
#include "nsIPropertyBag2.h"
#include "nsIDOMPageTransitionEvent.h"
#include "nsFrameLoader.h"
+#ifdef MOZ_MEDIA
#include "nsHTMLMediaElement.h"
+#endif
#include "mozAutoDocUpdate.h"
diff -urN comm-central-orig/mozilla/content/base/src/nsNodeUtils.cpp comm-central/mozilla/content/base/src/nsNodeUtils.cpp
--- comm-central-orig/mozilla/content/base/src/nsNodeUtils.cpp 2010-01-28 22:16:08.686138846 -0600
+++ comm-central/mozilla/content/base/src/nsNodeUtils.cpp 2010-01-28 22:17:14.618150370 -0600
@@ -55,7 +55,9 @@
#endif
#include "nsBindingManager.h"
#include "nsGenericHTMLElement.h"
+#ifdef MOZ_MEDIA
#include "nsHTMLMediaElement.h"
+#endif
// This macro expects the ownerDocument of content_ to be in scope as
// |nsIDocument* doc|