Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FF.spec: Tidy up s390x patches a bit
- Loading branch information
Martin Sirringhaus
committed
Jun 16, 2020
1 parent
3bb757f
commit 2333fcf
Showing
16 changed files
with
103 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../mozilla-bmo1602730.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../mozilla-bmo1619231.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../mozilla-bmo1626236.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../mozilla-bmo1643282.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../mozilla-bmo998749.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../mozilla-s390x-skia-gradient.patch |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../mozilla-sandbox-fips.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# HG changeset patch | ||
# User msirringhaus@suse.de | ||
# Date 1582805890 -3600 | ||
# Thu Feb 27 13:18:10 2020 +0100 | ||
# Node ID 457cbe5705f2a3759d3da36a05c0ed66ec61ea12 | ||
# Parent 7440f4b6bab85068ca2f84e9c48e0706d04330e8 | ||
imported patch mozilla-bmo1602730-FF73.patch | ||
|
||
diff -r 7440f4b6bab8 -r 457cbe5705f2 gfx/layers/composite/CompositableHost.cpp | ||
--- a/gfx/layers/composite/CompositableHost.cpp Thu Feb 27 13:17:56 2020 +0100 | ||
+++ b/gfx/layers/composite/CompositableHost.cpp Thu Feb 27 13:18:10 2020 +0100 | ||
@@ -92,9 +92,11 @@ | ||
} | ||
MOZ_ASSERT(source); | ||
|
||
- RefPtr<EffectMask> effect = | ||
- new EffectMask(source, source->GetSize(), aTransform); | ||
- aEffects.mSecondaryEffects[EffectTypes::MASK] = effect; | ||
+ // 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) | ||
+ //RefPtr<EffectMask> effect = | ||
+ // new EffectMask(source, source->GetSize(), aTransform); | ||
+ //aEffects.mSecondaryEffects[EffectTypes::MASK] = effect; | ||
return true; | ||
} | ||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
diff -r 173e2e6757ae widget/gtk/MozContainerWayland.h | ||
--- a/widget/gtk/MozContainerWayland.h Thu May 28 13:42:58 2020 +0000 | ||
+++ b/widget/gtk/MozContainerWayland.h Thu Jun 04 09:31:17 2020 +0200 | ||
@@ -10,6 +10,7 @@ | ||
|
||
#include <gtk/gtk.h> | ||
#include <vector> | ||
+#include <functional> | ||
#include "mozilla/Mutex.h" | ||
|
||
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# 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: |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
From: meissner@suse.com | ||
Subject: allow Firefox to access addtional process information | ||
Reference: http://bugzilla.suse.com/show_bug.cgi?id=1167132 | ||
|
||
Index: firefox-74.0/security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp | ||
=================================================================== | ||
--- firefox-74.0.orig/security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp | ||
+++ firefox-74.0/security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp | ||
@@ -276,6 +276,7 @@ SandboxBrokerPolicyFactory::SandboxBroke | ||
|
||
// Read permissions | ||
policy->AddPath(rdonly, "/dev/urandom"); | ||
+ policy->AddPath(rdonly, "/proc/sys/crypto/fips_enabled"); | ||
policy->AddPath(rdonly, "/proc/cpuinfo"); | ||
policy->AddPath(rdonly, "/proc/meminfo"); | ||
policy->AddDir(rdonly, "/sys/devices/cpu"); |