From 7c279f94e24ebc2571d3ec6ed0b7c52214660a92 Mon Sep 17 00:00:00 2001 From: q66 Date: Fri, 16 Sep 2022 11:50:24 +0000 Subject: [PATCH] stress-ng: fix build on ppc32 --- srcpkgs/stress-ng/patches/ppc32.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/stress-ng/patches/ppc32.patch diff --git a/srcpkgs/stress-ng/patches/ppc32.patch b/srcpkgs/stress-ng/patches/ppc32.patch new file mode 100644 index 00000000000..6c38b5cca32 --- /dev/null +++ b/srcpkgs/stress-ng/patches/ppc32.patch @@ -0,0 +1,20 @@ +commit 142c4e0a4e9d85c5d32faf0479b086ee4381502b +Author: q66 +Date: Fri Sep 16 11:48:52 2022 +0000 + + fix build on ppc32 + + stress-regs.c:120:2: error: void value not ignored as it ought to be + +diff --git a/stress-regs.c b/stress-regs.c +index 1ba97a8..63bf3ed 100644 +--- a/stress-regs.c ++++ b/stress-regs.c +@@ -117,7 +117,6 @@ static void regs_check128( + do { \ + (void)args; \ + (void)reg; \ +- (void)expected; \ + (void)value; \ + } while (0) + #endif