File device-mapper-type_punning.diff of Package lvm2.openSUSE_Leap_42.1_Update

---
 lib/device/device.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- LVM2.2.02.98.orig/lib/device/dev-type.c
+++ LVM2.2.02.98/lib/device/dev-type.c
@@ -39,7 +39,7 @@ struct partition {
 	uint8_t end_cyl;
 	uint32_t start_sect;
 	uint32_t nr_sects;
-} __attribute__((packed));
+} __attribute__((packed,may_alias));
 
 static int _is_partitionable(struct dev_types *dt, struct device *dev)
 {