]> git.pld-linux.org Git - packages/VirtualBox.git/commitdiff
cdefs patch to revert new upstream calling convention changes
authorJan Palus <atler@pld-linux.org>
Wed, 9 Sep 2015 20:52:43 +0000 (22:52 +0200)
committerJan Palus <atler@pld-linux.org>
Wed, 9 Sep 2015 20:52:43 +0000 (22:52 +0200)
VirtualBox-cdefs.patch [new file with mode: 0644]
VirtualBox.spec

diff --git a/VirtualBox-cdefs.patch b/VirtualBox-cdefs.patch
new file mode 100644 (file)
index 0000000..83b95f0
--- /dev/null
@@ -0,0 +1,11 @@
+--- 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
index 7414ce71b9cfdefb34c3ec53eb9de4404c42a303..6e27dcd897bae46d4f414c990cdd25613b5c4983 100644 (file)
@@ -78,6 +78,7 @@ Patch11:      18-system-xorg.patch
 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}
@@ -526,6 +527,7 @@ cd ../..\
 %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
This page took 0.130322 seconds and 4 git commands to generate.