From b4c584e75269f15b39769b778bcd44634e8627af Mon Sep 17 00:00:00 2001 From: Evgenii Shatokhin Date: Tue, 24 Mar 2020 15:15:07 +0300 Subject: [PATCH] Explicitly comment out the patch specific to GCC8+ %apply_patches does not take %if constructs into account, still tries to apply the patch even if the condition is not met, and fails. The following warning is printed: /bin/cat: %PATCH105: No such file or directory Commented out the patch so that it would remain visible but ignored. Fixes: d7f0f244 "Use the patch specific for GCC8+ only for ROSA 2019.0 or newer" --- kernel.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel.spec b/kernel.spec index 1f97c9f..caddddc 100644 --- a/kernel.spec +++ b/kernel.spec @@ -178,10 +178,10 @@ Patch101: perf-xmlto-skip-validation.patch # http://bugs.rosalinux.ru/show_bug.cgi?id=6459 Patch102: audit-make-it-less-verbose.patch -%if %{mdvver} >= 201900 +#if #{mdvver} >= 201900 # May help when building with GCC 8+. -Patch105: perf-silence-format-warnings-gcc8.patch -%endif +#Patch105: perf-silence-format-warnings-gcc8.patch +#endif # AUFS from http://aufs.sourceforge.net/ Patch109: fs-aufs.patch