From c9bea706b9e6649ba92b59c8a69a724586b92aee Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Thu, 18 Oct 2018 15:23:20 +0200 Subject: Added prio build patch --- firefox.spec | 2 ++ prio-nss-build.patch | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 prio-nss-build.patch diff --git a/firefox.spec b/firefox.spec index d5e0c48..b065b31 100644 --- a/firefox.spec +++ b/firefox.spec @@ -136,6 +136,7 @@ Patch37: build-jit-atomic-always-lucky.patch Patch38: build-cacheFlush-missing.patch Patch40: build-aarch64-skia.patch Patch41: build-disable-elfhack.patch +Patch42: prio-nss-build.patch # Fedora specific patches Patch215: firefox-enable-addons.patch @@ -337,6 +338,7 @@ This package contains results of tests executed during build. %patch41 -p1 -b .disable-elfhack %endif %patch3 -p1 -b .arm +%patch42 -p1 -b .nss-build # Fedora patches %patch215 -p1 -b .addons diff --git a/prio-nss-build.patch b/prio-nss-build.patch new file mode 100644 index 0000000..3854572 --- /dev/null +++ b/prio-nss-build.patch @@ -0,0 +1,88 @@ +diff -up firefox-63.0/media/libyuv/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium.old firefox-63.0/media/libyuv/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium +diff -up firefox-63.0/media/webrtc/trunk/Makefile.old firefox-63.0/media/webrtc/trunk/Makefile +diff -up firefox-63.0/third_party/prio/include/mprio.h.old firefox-63.0/third_party/prio/include/mprio.h +--- firefox-63.0/third_party/prio/include/mprio.h.old 2018-10-18 15:10:24.616102952 +0200 ++++ firefox-63.0/third_party/prio/include/mprio.h 2018-10-18 15:10:33.853076714 +0200 +@@ -14,9 +14,9 @@ extern "C" { + #endif + + #include +-#include +-#include +-#include ++#include ++#include ++#include + #include + #include + +diff -up firefox-63.0/third_party/prio/prio/encrypt.c.old firefox-63.0/third_party/prio/prio/encrypt.c +--- firefox-63.0/third_party/prio/prio/encrypt.c.old 2018-10-18 15:15:08.279250181 +0200 ++++ firefox-63.0/third_party/prio/prio/encrypt.c 2018-10-18 15:15:14.614229961 +0200 +@@ -6,9 +6,9 @@ + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +-#include +-#include +-#include ++#include ++#include ++#include + #include + + #include "encrypt.h" +diff -up firefox-63.0/third_party/prio/prio/prg.c.old firefox-63.0/third_party/prio/prio/prg.c +--- firefox-63.0/third_party/prio/prio/prg.c.old 2018-10-18 15:15:21.364208421 +0200 ++++ firefox-63.0/third_party/prio/prio/prg.c 2018-10-18 15:15:27.542188720 +0200 +@@ -7,8 +7,8 @@ + */ + + #include +-#include +-#include ++#include ++#include + #include + + #include "prg.h" +diff -up firefox-63.0/third_party/prio/prio/prg.h.old firefox-63.0/third_party/prio/prio/prg.h +--- firefox-63.0/third_party/prio/prio/prg.h.old 2018-10-18 15:15:35.511163303 +0200 ++++ firefox-63.0/third_party/prio/prio/prg.h 2018-10-18 15:15:40.568147167 +0200 +@@ -10,7 +10,7 @@ + #define __PRG_H__ + + #include +-#include ++#include + #include + + #include "config.h" +diff -up firefox-63.0/third_party/prio/prio/rand.c.old firefox-63.0/third_party/prio/prio/rand.c +--- firefox-63.0/third_party/prio/prio/rand.c.old 2018-10-18 15:15:49.967117182 +0200 ++++ firefox-63.0/third_party/prio/prio/rand.c 2018-10-18 15:16:00.130084760 +0200 +@@ -8,9 +8,9 @@ + + #include + #include +-#include +-#include +-#include ++#include ++#include ++#include + + #include "debug.h" + #include "rand.h" +diff -up firefox-63.0/third_party/prio/prio/rand.h.old firefox-63.0/third_party/prio/prio/rand.h +--- firefox-63.0/third_party/prio/prio/rand.h.old 2018-10-18 15:14:49.689309517 +0200 ++++ firefox-63.0/third_party/prio/prio/rand.h 2018-10-18 15:14:56.789286855 +0200 +@@ -10,7 +10,7 @@ + #define __RAND_H__ + + #include +-#include ++#include + #include + + /* -- cgit