summaryrefslogtreecommitdiff
path: root/newmoon/newmoon.spec
diff options
context:
space:
mode:
Diffstat (limited to 'newmoon/newmoon.spec')
-rw-r--r--newmoon/newmoon.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/newmoon/newmoon.spec b/newmoon/newmoon.spec
index 07f1525..a8fafd3 100644
--- a/newmoon/newmoon.spec
+++ b/newmoon/newmoon.spec
@@ -63,6 +63,7 @@ Patch0: small-icons.patch
Patch1: pm-fedora.patch
Patch2: pm-to-nm.patch
Patch3: revert-mach-file.patch
+Patch4: nm-gcc-11.patch
%endif
Packager: B. Stack <bgstack15@gmail.com>
@@ -125,6 +126,10 @@ sed -i -r -e '/enable-optimize/s/"\s*$/ -Wno-format-overflow"/' ./.mozconfig
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%if 0%{?fedora} >= 34 || 0%{?rhel} >= 9
+# For gcc 11
+%patch4 -p1
+%endif
! test -d %{badname}/branding/unofficial.unbuilt && {
cp -pr %{badname}/branding/unofficial %{badname}/branding/unofficial.unbuilt && \
@@ -305,6 +310,7 @@ update-mime-database -n ${_datadir}/mime 1>/dev/null 2>&1 & :
* Tue Jan 04 2022 B. Stack <bgstack15@gmail.com> - 29.4.3-1
- update version
- add revert-mach-file patch from stevepusser
+- add nm-gcc-11 patch from gentooman
* Thu Nov 11 2021 B. Stack <bgstack15@gmail.com> - 29.4.2-1
- update version
bgstack15