Date: Sat, 12 Sep 2020 23:32:49 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r548439 - in head/www/firefox: . files Message-ID: <202009122332.08CNWn7r038287@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Sat Sep 12 23:32:49 2020 New Revision: 548439 URL: https://svnweb.freebsd.org/changeset/ports/548439 Log: www/firefox: fixes for some color issues on powerpc64 Some image formats still suffer from endianness issues, fix it partially by removing one obsolete patch and adding another. Added: head/www/firefox/files/patch-bug1602730_comment5 (contents, props changed) Deleted: head/www/firefox/files/patch-bug1504834_comment7 Modified: head/www/firefox/Makefile Modified: head/www/firefox/Makefile ============================================================================== --- head/www/firefox/Makefile Sat Sep 12 23:29:57 2020 (r548438) +++ head/www/firefox/Makefile Sat Sep 12 23:32:49 2020 (r548439) @@ -4,6 +4,7 @@ PORTNAME= firefox DISTVERSION= 80.0.1 PORTEPOCH= 2 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source Added: head/www/firefox/files/patch-bug1602730_comment5 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/firefox/files/patch-bug1602730_comment5 Sat Sep 12 23:32:49 2020 (r548439) @@ -0,0 +1,24 @@ +--- gfx/layers/composite/CompositableHost.cpp.orig 2020-09-12 21:47:42 UTC ++++ gfx/layers/composite/CompositableHost.cpp +@@ -13,6 +13,7 @@ + #include "ImageHost.h" // for ImageHostBuffered, etc + #include "Layers.h" + #include "TiledContentHost.h" // for TiledContentHost ++#include "mozilla/EndianUtils.h" + #include "mozilla/gfx/gfxVars.h" + #include "mozilla/layers/LayersSurfaces.h" // for SurfaceDescriptor + #include "mozilla/layers/TextureHost.h" // for TextureHost, etc +@@ -92,9 +93,13 @@ bool CompositableHost::AddMaskEffect(EffectChain& aEff + } + MOZ_ASSERT(source); + ++ // Setting an alpha-mask here breaks the URL-bar on big endian (s390x) ++ // if the typed URL is too long for the textbox (automatic scrolling needed) ++#if MOZ_LITTLE_ENDIAN() + RefPtr<EffectMask> effect = + new EffectMask(source, source->GetSize(), aTransform); + aEffects.mSecondaryEffects[EffectTypes::MASK] = effect; ++#endif + return true; + } +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009122332.08CNWn7r038287>