Blame SOURCES/2003-undef-ARRAY_SIZE.patch

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