Blame SOURCES/2003-undef-ARRAY_SIZE.patch

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