stress-ng: fix build on ppc32
This commit is contained in:
parent
315435fd0b
commit
7c279f94e2
1 changed files with 20 additions and 0 deletions
20
srcpkgs/stress-ng/patches/ppc32.patch
Normal file
20
srcpkgs/stress-ng/patches/ppc32.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
commit 142c4e0a4e9d85c5d32faf0479b086ee4381502b
|
||||
Author: q66 <daniel@octaforge.org>
|
||||
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
|
Loading…
Add table
Reference in a new issue