Blame SOURCES/2003-undef-ARRAY_SIZE.patch

fffaa6
Index: strace-5.12/src/unwind.c
fffaa6
===================================================================
fffaa6
--- strace-5.12.orig/src/unwind.c	2018-12-10 01:00:00.000000000 +0100
fffaa6
+++ strace-5.12/src/unwind.c	2020-06-02 11:13:42.777871147 +0200
fffaa6
@@ -9,6 +9,12 @@
fffaa6
 #include "unwind.h"
fffaa6
 
fffaa6
 #ifdef USE_DEMANGLE
fffaa6
+/*
fffaa6
+ * demangle.h defines ARRAY_SIZE without proper guard, and its definition
fffaa6
+ * is "good enough" for us.
fffaa6
+ */
fffaa6
+#undef ARRAY_SIZE
fffaa6
+
fffaa6
 # if defined HAVE_DEMANGLE_H
fffaa6
 #  include <demangle.h>
fffaa6
 # elif defined HAVE_LIBIBERTY_DEMANGLE_H