--- /dev/null
+--- include/iprt/cdefs.h~ 2015-09-09 22:38:49.039195210 +0200
++++ include/iprt/cdefs.h 2015-09-09 22:39:54.705032329 +0200
+@@ -978,8 +978,6 @@
+ # define RTCALL __cdecl
+ #elif defined(RT_OS_OS2)
+ # define RTCALL __cdecl
+-#elif defined(__GNUC__) && defined(RT_ARCH_X86)
+-# define RTCALL __attribute__((cdecl,regparm(0)))
+ #else
+ # define RTCALL
+ #endif
Patch12: %{pname}-all-translations.patch
Patch13: x32.patch
Patch14: %{pname}-no-scrextend.patch
+Patch15: %{pname}-cdefs.patch
URL: http://www.virtualbox.org/
%if %{with userspace}
%ifarch %{x8664}
%endif
%patch13 -p1
%patch14 -p1
+%patch15 -p0
%{__sed} -i -e 's,@VBOX_DOC_PATH@,%{_docdir}/%{name}-%{version},' \
-e 's/Categories=.*/Categories=Utility;Emulator;/' src/VBox/Installer/common/virtualbox.desktop.in