summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2017-06-08 15:13:41 +0200
committerMartin Stransky <stransky@redhat.com>2017-06-08 15:13:41 +0200
commit11dd0aa0f27026d708ff20954ee30d69cc334067 (patch)
tree9792c2f4d677a0db2a648187135215ef39d24b4a
parentRemoved disable-rust option as is not supported any more (diff)
downloadlibrewolf-fedora-ff-11dd0aa0f27026d708ff20954ee30d69cc334067.tar.gz
librewolf-fedora-ff-11dd0aa0f27026d708ff20954ee30d69cc334067.tar.bz2
librewolf-fedora-ff-11dd0aa0f27026d708ff20954ee30d69cc334067.zip
Added build fix, remove -Wno-format build flags
-rw-r--r--fedora-build.patch23
-rw-r--r--firefox.spec2
2 files changed, 25 insertions, 0 deletions
diff --git a/fedora-build.patch b/fedora-build.patch
new file mode 100644
index 0000000..74127ec
--- /dev/null
+++ b/fedora-build.patch
@@ -0,0 +1,23 @@
+diff -up firefox-54.0/media/libyuv/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium.old firefox-54.0/media/libyuv/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium
+diff -up firefox-54.0/media/mtransport/third_party/nICEr/nicer.gyp.old firefox-54.0/media/mtransport/third_party/nICEr/nicer.gyp
+--- firefox-54.0/media/mtransport/third_party/nICEr/nicer.gyp.old 2017-06-08 14:59:08.786996664 +0200
++++ firefox-54.0/media/mtransport/third_party/nICEr/nicer.gyp 2017-06-08 14:59:22.642946570 +0200
+@@ -211,7 +211,6 @@
+ '-Wno-parentheses',
+ '-Wno-strict-prototypes',
+ '-Wmissing-prototypes',
+- '-Wno-format',
+ ],
+ 'defines' : [
+ 'LINUX',
+diff -up firefox-54.0/media/mtransport/third_party/nrappkit/nrappkit.gyp.build firefox-54.0/media/mtransport/third_party/nrappkit/nrappkit.gyp
+--- firefox-54.0/media/mtransport/third_party/nrappkit/nrappkit.gyp.build 2017-06-08 15:08:03.627063097 +0200
++++ firefox-54.0/media/mtransport/third_party/nrappkit/nrappkit.gyp 2017-06-08 15:08:15.657019606 +0200
+@@ -206,7 +206,6 @@
+ '-Wno-parentheses',
+ '-Wno-strict-prototypes',
+ '-Wmissing-prototypes',
+- '-Wno-format',
+ ],
+ 'defines' : [
+ 'LINUX',
diff --git a/firefox.spec b/firefox.spec
index ea11a54..fe13f97 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -124,6 +124,7 @@ Patch26: build-icu-big-endian.patch
Patch27: mozilla-1335250.patch
Patch28: build-1360521-missing-cheddar.patch
Patch29: build-big-endian.patch
+Patch30: fedora-build.patch
# Fedora specific patches
# Unable to install addons from https pages
@@ -297,6 +298,7 @@ This package contains results of tests executed during build.
%endif
#%patch28 -p2 -b .1360521-missing-cheddar
%patch29 -p1 -b .big-endian
+%patch30 -p1 -b .fedora-build
%patch3 -p1 -b .arm
bgstack15