Blame SOURCES/papi-inficonst.patch

c7ea89
diff -up papi-5.2.0/src/components/infiniband/linux-infiniband.c.decl papi-5.2.0/src/components/infiniband/linux-infiniband.c
c7ea89
--- papi-5.2.0/src/components/infiniband/linux-infiniband.c.decl	2015-08-10 16:04:04.528460972 -0400
c7ea89
+++ papi-5.2.0/src/components/infiniband/linux-infiniband.c	2015-08-10 16:06:25.243444756 -0400
c7ea89
@@ -27,6 +27,9 @@
c7ea89
 #include "papi_vector.h"
c7ea89
 #include "papi_memory.h"
c7ea89
 
c7ea89
+/* This is a hack remove consts in the declarations to avoid decl mismatch. */
c7ea89
+#define const 
c7ea89
+
c7ea89
 #include "linux-infiniband.h"
c7ea89
 
c7ea89
 void (*_dl_non_dynamic_init)(void) __attribute__((weak));