summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newmoon/newmoon.spec9
1 files changed, 4 insertions, 5 deletions
diff --git a/newmoon/newmoon.spec b/newmoon/newmoon.spec
index 6f88606..c02062a 100644
--- a/newmoon/newmoon.spec
+++ b/newmoon/newmoon.spec
@@ -59,11 +59,11 @@ Source4: newmoon-mimeinfo.xml
%if 0%{stackrpms_custom}
Source5: bgstack15-newmoon-prefs.js
Source6: bluemoon-icons.tgz
+Source7: nm-gcc-11.patch
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>
@@ -128,10 +128,9 @@ sed -i -r -e '/enable-optimize/s/"\s*$/ -Wno-format-overflow"/' ./.mozconfig
%patch3 -p1
%if 0%{?fedora} >= 34 || 0%{?rhel} >= 9
# For gcc 11
-(
- cd %{badname}
- %patch4
-)
+cd %{badname}
+patch -p1 < %{SOURCE7}
+cd ..
%endif
! test -d %{badname}/branding/unofficial.unbuilt && {
bgstack15