diff --git a/hardware/emulator/wine/files/wine-1.9.3-gcc-5_3_0-disable-force-alignment.patch b/hardware/emulator/wine/files/wine-1.9.3-gcc-5_3_0-disable-force-alignment.patch new file mode 100644 index 0000000000..4337df9cca --- /dev/null +++ b/hardware/emulator/wine/files/wine-1.9.3-gcc-5_3_0-disable-force-alignment.patch @@ -0,0 +1,20 @@ +--- a/include/windef.h 2016-02-09 05:17:54.925574387 +0000 ++++ b/include/windef.h 2016-02-09 12:40:25.231866622 +0000 +@@ -64,7 +64,7 @@ + # error You need to define __stdcall for your compiler + # endif + # elif defined(__x86_64__) && defined (__GNUC__) +-# if (__GNUC__ > 5) || ((__GNUC__ == 5) && (__GNUC_MINOR__ >= 3)) ++# if (__GNUC__ > 5) + # define __stdcall __attribute__((ms_abi)) __attribute__((__force_align_arg_pointer__)) + # else + # define __stdcall __attribute__((ms_abi)) +@@ -82,7 +82,7 @@ + # define __cdecl __attribute__((__cdecl__)) + # endif + # elif defined(__x86_64__) && defined (__GNUC__) +-# if (__GNUC__ > 5) || ((__GNUC__ == 5) && (__GNUC_MINOR__ >= 3)) ++# if (__GNUC__ > 5) + # define __cdecl __attribute__((ms_abi)) __attribute__((__force_align_arg_pointer__)) + # else + # define __cdecl __attribute__((ms_abi))