From owner-svn-ports-head@freebsd.org Fri Jan 8 00:47:15 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63F55A65C69; Fri, 8 Jan 2016 00:47:15 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 298511A50; Fri, 8 Jan 2016 00:47:15 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u080lEmm016082; Fri, 8 Jan 2016 00:47:14 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u080lERu016079; Fri, 8 Jan 2016 00:47:14 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201601080047.u080lERu016079@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Fri, 8 Jan 2016 00:47:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405496 - in head: mail/thunderbird/files www/firefox-esr/files www/libxul/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2016 00:47:15 -0000 Author: jbeich Date: Fri Jan 8 00:47:13 2016 New Revision: 405496 URL: https://svnweb.freebsd.org/changeset/ports/405496 Log: gecko: unbreak FFMPEG=off build on esr38 PR: 205747 MFH: 2016Q1 Added: head/mail/thunderbird/files/patch-bug1148203 (contents, props changed) head/www/firefox-esr/files/patch-bug1148203 (contents, props changed) head/www/libxul/files/patch-bug1148203 (contents, props changed) Added: head/mail/thunderbird/files/patch-bug1148203 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/thunderbird/files/patch-bug1148203 Fri Jan 8 00:47:13 2016 (r405496) @@ -0,0 +1,38 @@ +# HG changeset patch +# User Chris Double +# 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. */ Added: head/www/firefox-esr/files/patch-bug1148203 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/firefox-esr/files/patch-bug1148203 Fri Jan 8 00:47:13 2016 (r405496) @@ -0,0 +1,38 @@ +# HG changeset patch +# User Chris Double +# 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 +--- configure.in ++++ 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 +--- media/libstagefright/binding/MoofParser.cpp ++++ 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. */ Added: head/www/libxul/files/patch-bug1148203 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/libxul/files/patch-bug1148203 Fri Jan 8 00:47:13 2016 (r405496) @@ -0,0 +1,38 @@ +# HG changeset patch +# User Chris Double +# 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 +--- configure.in ++++ 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 +--- media/libstagefright/binding/MoofParser.cpp ++++ 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. */