aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libdvdread/files/patch-src-dvdread-ifo_types.h
blob: 4a60adca2dc8aa58b6fbea7293e62a41fc684855 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/dvdread/ifo_types.h.orig	2020-03-04 18:57:19 UTC
+++ src/dvdread/ifo_types.h
@@ -32,7 +32,7 @@
 
 #if defined(__GNUC__)
 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
-#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
+#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) && !defined(__clang__)
 #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct))
 #else
 #define ATTRIBUTE_PACKED __attribute__ ((packed))