summaryrefslogtreecommitdiff
path: root/palemoon
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-04-30 16:06:36 -0400
committerB Stack <bgstack15@gmail.com>2019-04-30 16:06:36 -0400
commite9e623d92b65ec06dc007bb9d85915d8aa064044 (patch)
tree9e2d620c03ef5e8baa45fba0957b0dcf62aff33b /palemoon
parentadded release notes details to debian changelog (diff)
downloadstackrpms-e9e623d92b65ec06dc007bb9d85915d8aa064044.tar.gz
stackrpms-e9e623d92b65ec06dc007bb9d85915d8aa064044.tar.bz2
stackrpms-e9e623d92b65ec06dc007bb9d85915d8aa064044.zip
palemoon on fc30 disable -Wformat-overflow
The problem lies with gcc 9 which changes how it searches printf parameters when using -Wformat-overflow. Gcc 9 is not released yet and causes problems when compiling the palemoon codebase. This commit still fails on rawhide but works in fc30 which is good enough for now.
Diffstat (limited to 'palemoon')
-rw-r--r--palemoon/palemoon-stackrpms.spec3
-rw-r--r--palemoon/palemoon.spec3
2 files changed, 6 insertions, 0 deletions
diff --git a/palemoon/palemoon-stackrpms.spec b/palemoon/palemoon-stackrpms.spec
index c814daf..f493919 100644
--- a/palemoon/palemoon-stackrpms.spec
+++ b/palemoon/palemoon-stackrpms.spec
@@ -106,6 +106,9 @@ and themes to make the browser truly your own.
%prep
%setup -q -n %{tarballdir}
%{__cp} %{SOURCE1} ./.mozconfig
+%if 0%{?fedora} >= 30
+sed -i -r -e '/enable-optimize/s/"\s*$/ -Wno-format-overflow"/' ./.mozconfig
+%endif
%if 0%{stackrpms_custom}
%patch0 -p1
diff --git a/palemoon/palemoon.spec b/palemoon/palemoon.spec
index 6e08fb3..5bf1fdb 100644
--- a/palemoon/palemoon.spec
+++ b/palemoon/palemoon.spec
@@ -106,6 +106,9 @@ and themes to make the browser truly your own.
%prep
%setup -q -n %{tarballdir}
%{__cp} %{SOURCE1} ./.mozconfig
+%if 0%{?fedora} >= 30
+sed -i -r -e '/enable-optimize/s/"\s*$/ -Wno-format-overflow"/' ./.mozconfig
+%endif
%if 0%{stackrpms_custom}
%patch0 -p1
bgstack15