summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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