From 07a6216f53b23a8b579c003b65cdbb2d54b205d7 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Tue, 28 May 2019 22:28:07 +0200 Subject: [PATCH] fixup patch14 on old rhel, when patch6 doesn't apply --- valgrind.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/valgrind.spec b/valgrind.spec index 7291f62..21d9e15 100644 --- a/valgrind.spec +++ b/valgrind.spec @@ -260,7 +260,12 @@ Valgrind User Manual for details. %patch11 -p1 %patch12 -p1 %patch13 -p1 + +# This depends on patch6, old rhel gcc doesn't have -fstack-protector-strong. +%if 0%{?fedora} || 0%{?rhel} >= 7 %patch14 -p1 +%endif + %patch15 -p1 %build