forked from pool/MozillaFirefox
d08406e896
* startup notifications now using Gtk instead of libnotify * PDF downloads now show an option to open the PDF directly in Firefox - requires * NSS >= 3.53.1 * nodejs >= 10.21 * Gtk+3 >= 3.14 - removed obsolete patch * mozilla-s390-bigendian.patch - Add mozilla-pipewire-0-3.patch for openSUSE >= 15.2 to build WebRTC with pipewire support to enable screen sharing under Wayland; also add BuildRequires: pkgconfig(libpipewire-0.3) appropriately (boo#1172903). - adding SLE12 compatibility in spec file - add patches for s390x * mozilla-bmo1602730.patch (bmo#1602730) * mozilla-bmo1626236.patch (bmo#1626236) * mozilla-bmo998749.patch (bmo#998749) * mozilla-s390x-skia-gradient.patch - update create-tar.sh - Use same _constraints for ppc64 (BE) as ppc64le to avoid oom build failure OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=834
30 lines
1000 B
Diff
30 lines
1000 B
Diff
# HG changeset patch
|
|
# User msirringhaus@suse.de
|
|
# Date 1583738770 -3600
|
|
# Mon Mar 09 08:26:10 2020 +0100
|
|
# Node ID 34676feac1a542e409e22acf5b98735f8313b1ce
|
|
# Parent 506857dace0a08d1c9685e3ac264646590b3e27f
|
|
[mq]: mozilla-bmo998749.patch
|
|
|
|
diff -r 506857dace0a -r 34676feac1a5 gfx/2d/FilterProcessing.h
|
|
--- a/gfx/2d/FilterProcessing.h Fri Feb 28 12:31:51 2020 +0100
|
|
+++ b/gfx/2d/FilterProcessing.h Mon Mar 09 08:26:10 2020 +0100
|
|
@@ -13,10 +13,17 @@
|
|
namespace mozilla {
|
|
namespace gfx {
|
|
|
|
+#if MOZ_BIG_ENDIAN()
|
|
+const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_B = 3;
|
|
+const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_G = 2;
|
|
+const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_R = 1;
|
|
+const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_A = 0;
|
|
+#else
|
|
const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_B = 0;
|
|
const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_G = 1;
|
|
const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_R = 2;
|
|
const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_A = 3;
|
|
+#endif
|
|
|
|
class FilterProcessing {
|
|
public:
|