This should simplify the mms-bitfield issue and avoid the compilation of the dvdread plugin on Windows...
# ***************************************************************************
libdvdread:
$(SVN) co $(LIBDVDREAD_SVN) libdvdread
- (cd $@; patch -p 0 < ../Patches/libdvdread.patch)
+ (cd $@; patch -p 0 < ../Patches/libdvdread-dvdcss-static.patch)
ifdef HAVE_WIN32
(cd $@; patch -p 0 < ../Patches/libdvdread-win32.patch)
endif
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__bsdi__) || defined(__DARWIN__)
#define SYS_BSD 1
+Index: src/dvdread/ifo_types.h
+===================================================================
+--- src/dvdread/ifo_types.h (révision 1188)
++++ src/dvdread/ifo_types.h (copie de travail)
+@@ -32,7 +32,7 @@
+
+ #if defined(__GNUC__)
+ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
+-#define ATTRIBUTE_PACKED __attribute__ ((packed))
++#define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct))
+ #define PRAGMA_PACK 0
+ #endif
+ #endif