summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2019-10-21 15:15:55 +0200
committerMartin Stransky <stransky@redhat.com>2019-10-21 15:15:55 +0200
commita534d9f0a514af006a540d6ecb19121f27f6ee17 (patch)
treee598ae47bcac057fe3ccdd0e8d3318f0eb3796cd
parentUpdated to 70.0 Build 2 (diff)
downloadlibrewolf-fedora-ff-a534d9f0a514af006a540d6ecb19121f27f6ee17.tar.gz
librewolf-fedora-ff-a534d9f0a514af006a540d6ecb19121f27f6ee17.tar.bz2
librewolf-fedora-ff-a534d9f0a514af006a540d6ecb19121f27f6ee17.zip
relax nss version
-rw-r--r--firefox-nss-version.patch14
-rw-r--r--firefox.spec2
2 files changed, 16 insertions, 0 deletions
diff --git a/firefox-nss-version.patch b/firefox-nss-version.patch
new file mode 100644
index 0000000..a025e09
--- /dev/null
+++ b/firefox-nss-version.patch
@@ -0,0 +1,14 @@
+diff -up firefox-70.0/media/libyuv/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium.old firefox-70.0/media/libyuv/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium
+diff -up firefox-70.0/media/webrtc/trunk/Makefile.old firefox-70.0/media/webrtc/trunk/Makefile
+diff -up firefox-70.0/old-configure.in.old firefox-70.0/old-configure.in
+--- firefox-70.0/old-configure.in.old 2019-10-21 15:13:50.777374423 +0200
++++ firefox-70.0/old-configure.in 2019-10-21 15:13:59.803371294 +0200
+@@ -1530,7 +1530,7 @@ MOZ_ARG_WITH_BOOL(system-nss,
+ _USE_SYSTEM_NSS=1 )
+
+ if test -n "$_USE_SYSTEM_NSS"; then
+- AM_PATH_NSS(3.46.1, [MOZ_SYSTEM_NSS=1], [AC_MSG_ERROR([you don't have NSS installed or your version is too old])])
++ AM_PATH_NSS(3.46.0, [MOZ_SYSTEM_NSS=1], [AC_MSG_ERROR([you don't have NSS installed or your version is too old])])
+ fi
+
+ NSS_CFLAGS="$NSS_CFLAGS -I${DIST}/include/nss"
diff --git a/firefox.spec b/firefox.spec
index 7a3dffc..1c42369 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -132,6 +132,7 @@ Patch40: build-aarch64-skia.patch
Patch41: build-disable-elfhack.patch
Patch44: build-arm-libopus.patch
#Patch45: build-disable-multijobs-rust.patch
+Patch46: firefox-nss-version.patch
# Fedora specific patches
Patch215: firefox-enable-addons.patch
@@ -340,6 +341,7 @@ This package contains results of tests executed during build.
%if 0%{?big_endian}
%patch26 -p1 -b .icu
%endif
+%patch46 -p1 -b .nss-version
# Fedora patches
%patch215 -p1 -b .addons
bgstack15