From 5202a6d409898152093a8eb6ab583886b90d91d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erg=C3=BCn=20Salman?= Date: Thu, 7 Jul 2016 15:51:00 +0300 Subject: [PATCH] gcc 5.3 --- ....3-gcc-5_3_0-disable-force-alignment.patch | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 hardware/emulator/wine/files/wine-1.9.3-gcc-5_3_0-disable-force-alignment.patch 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))