aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2016-01-08 08:47:13 +0800
committerjbeich <jbeich@FreeBSD.org>2016-01-08 08:47:13 +0800
commita96f9e961a4da88c851af027e11309fa433a06cc (patch)
tree26e93a203d107f67b950b528bf4fff40ccc362c0 /mail
parentb7a9ff1ce3d8499dd349a4eebd07c8dadcfa6095 (diff)
downloadfreebsd-ports-gnome-a96f9e961a4da88c851af027e11309fa433a06cc.tar.gz
freebsd-ports-gnome-a96f9e961a4da88c851af027e11309fa433a06cc.tar.zst
freebsd-ports-gnome-a96f9e961a4da88c851af027e11309fa433a06cc.zip
gecko: unbreak FFMPEG=off build on esr38
PR: 205747 MFH: 2016Q1
Diffstat (limited to 'mail')
-rw-r--r--mail/thunderbird/files/patch-bug114820338
1 files changed, 38 insertions, 0 deletions
diff --git a/mail/thunderbird/files/patch-bug1148203 b/mail/thunderbird/files/patch-bug1148203
new file mode 100644
index 000000000000..b4b2f230851d
--- /dev/null
+++ b/mail/thunderbird/files/patch-bug1148203
@@ -0,0 +1,38 @@
+# HG changeset patch
+# User Chris Double <chris.double@double.co.nz>
+# Date 1427767594 -46800
+# Tue Mar 31 15:06:34 2015 +1300
+# Node ID 858ea94746eedc4b65734f8ceedfff7021940cb2
+# Parent 1b8f36a7ee321ca62cf87424910d0e2ed6fed076
+Bug 1148203 - Fix build errors with combinations of enable/disable of ffmp4/ffmpeg/eme - r=cpearce,ted
+
+Fixes build error with all three disabled. Prevents other combinations
+that cause build errors by detecting them at configure time and displaying
+an error message.
+
+diff --git a/configure.in b/configure.in
+--- mozilla/configure.in
++++ mozilla/configure.in
+@@ -5316,6 +5316,10 @@ MOZ_ARG_DISABLE_BOOL(fmp4,
+ MOZ_FMP4=,
+ MOZ_FMP4=1)
+
++if test -n "$MOZ_FFMPEG" -a -z "$MOZ_FMP4"; then
++ AC_MSG_ERROR([Fragmented MP4 support must be enabled if using FFMPEG])
++fi
++
+ if test -n "$MOZ_FMP4"; then
+ AC_DEFINE(MOZ_FMP4)
+ MOZ_EME=1
+diff --git a/media/libstagefright/binding/MoofParser.cpp b/media/libstagefright/binding/MoofParser.cpp
+--- mozilla/media/libstagefright/binding/MoofParser.cpp
++++ mozilla/media/libstagefright/binding/MoofParser.cpp
+@@ -9,7 +9,7 @@
+
+ #include "prlog.h"
+
+-#ifdef PR_LOGGING
++#if defined(MOZ_FMP4) && defined(PR_LOGGING)
+ extern PRLogModuleInfo* GetDemuxerLog();
+
+ /* Polyfill __func__ on MSVC to pass to the log. */