diff options
author | Björn Bidar | 2023-03-23 23:23:11 +0200 |
---|---|---|
committer | Björn Bidar | 2023-03-23 23:43:53 +0200 |
commit | a4ae66b6b28607dd7bec51cae73300552ec8fafd (patch) | |
tree | 1e9b32b65ea282f4a3e7693dc165d6c9db6a33cf /2015_spectre_variant2_bug1542958.patch | |
parent | 61abbb0481681a0894d4c1b98f685dcada8ab2e8 (diff) | |
download | aur-a4ae66b6b28607dd7bec51cae73300552ec8fafd.tar.gz |
Update to 111.0-1
- New upstream release
- Use tarball instead of hg sources
- Restructure patching process
- All patches are checked into git and then applied on top of the
existing Mozilla sources.
Doing so allows rebasing of patches to be done by a simple git
rebase, all patches cherry-picked from upstream are then
automatically excluded upon updating.
- Rebase patch-set based on OpenSUSE patches, updates to the package
will be faster this way.
- The sources can be found here:
https://github.com/Thaodan/gecko-dev
The branches are split of from the mozilla 'release' branch that is set to
the latest release version into release/$major.$minor.x and then
the thaodan/release/$major.$minor.x branch is rebased upon that.
- Remove other obsolete patches
- Drop obsolete kde.js, it was removed in the OpenSUSE patches long
ago, is redundant and doesn't function anymore. boo#1151186
https://bugzilla.opensuse.org/show_bug.cgi?id=1151186
Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de>
Diffstat (limited to '2015_spectre_variant2_bug1542958.patch')
-rw-r--r-- | 2015_spectre_variant2_bug1542958.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/2015_spectre_variant2_bug1542958.patch b/2015_spectre_variant2_bug1542958.patch deleted file mode 100644 index 5a3a97c42578..000000000000 --- a/2015_spectre_variant2_bug1542958.patch +++ /dev/null @@ -1,32 +0,0 @@ -# HG changeset patch -# Parent f5febee8d7dc9cf6ba776d6a8550f87eb343f998 -Bug 1542958 - fix code section adjustments in elfhack; r=glandium - -We were never adjusting `last` in this loop, so we were computing the -wrong addresses for all sections beyond the first. Which in turn meant -that we would compute the wrong size for the section data we needed to -allocate. - -Differential Revision: https://phabricator.services.mozilla.com/D28195 - -diff --git a/build/unix/elfhack/elfhack.cpp b/build/unix/elfhack/elfhack.cpp ---- a/build/unix/elfhack/elfhack.cpp -+++ b/build/unix/elfhack/elfhack.cpp -@@ -172,16 +172,17 @@ class ElfRelHackCode_Section : public El - unsigned int addr = last->getShdr().sh_addr + last->getSize(); - if (addr & ((*c)->getAddrAlign() - 1)) - addr = (addr | ((*c)->getAddrAlign() - 1)) + 1; - (*c)->getShdr().sh_addr = addr; - // We need to align this section depending on the greater - // alignment required by code sections. - if (shdr.sh_addralign < (*c)->getAddrAlign()) - shdr.sh_addralign = (*c)->getAddrAlign(); -+ last = *c; - } - shdr.sh_size = code.back()->getAddr() + code.back()->getSize(); - data = static_cast<char *>(malloc(shdr.sh_size)); - if (!data) { - throw std::runtime_error("Could not malloc ElfSection data"); - } - char *buf = data; - for (c = code.begin(); c != code.end(); ++c) { |