Blame SOURCES/2003-undef-ARRAY_SIZE.patch

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