Blame SOURCES/lzo-2.08-rhbz1309225.patch

23fc61
diff -up lzo-2.08/include/lzo/lzodefs.h.rhbz1309225 lzo-2.08/include/lzo/lzodefs.h
23fc61
--- lzo-2.08/include/lzo/lzodefs.h.rhbz1309225	2016-02-19 13:38:02.604220910 +0100
23fc61
+++ lzo-2.08/include/lzo/lzodefs.h	2016-02-19 13:37:30.619073085 +0100
23fc61
@@ -1686,6 +1686,10 @@ extern "C" {
23fc61
 #  define __lzo_byte_struct_ma(s,n)     struct s { unsigned char a[n]; } __lzo_may_alias __attribute__((__packed__));
23fc61
 #endif
23fc61
 #endif
23fc61
+#if (LZO_CC_GNUC >= 0x060000ul) && defined(__lzo_byte_struct_ma)
23fc61
+#  undef __lzo_byte_struct
23fc61
+#  define __lzo_byte_struct(s,n)        __lzo_byte_struct_ma(s,n)
23fc61
+#endif
23fc61
 #if defined(__lzo_byte_struct) &&  !defined(__lzo_byte_struct_ma)
23fc61
 #  define __lzo_byte_struct_ma(s,n)     __lzo_byte_struct(s,n)
23fc61
 #endif