[packages/VirtualBox] - build with gcc 4.8 - rel 4
baggins
baggins at pld-linux.org
Sat May 25 10:48:42 CEST 2013
commit 53a63bfec10bc4118d348b1b347465ca61ca4aa1
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat May 25 10:48:32 2013 +0200
- build with gcc 4.8
- rel 4
VirtualBox.spec | 4 +++-
gcc48.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/VirtualBox.spec b/VirtualBox.spec
index 662deda..ab7d7e9 100644
--- a/VirtualBox.spec
+++ b/VirtualBox.spec
@@ -32,7 +32,7 @@
%define _enable_debug_packages 0
%endif
-%define rel 3
+%define rel 4
%define pname VirtualBox
Summary: VirtualBox - x86 hardware virtualizer
Summary(pl.UTF-8): VirtualBox - wirtualizator sprzętu x86
@@ -66,6 +66,7 @@ Patch2: %{pname}-warning_workaround.patch
Patch3: %{pname}-dri.patch
Patch4: %{pname}-disable_build_NetBiosBin.patch
Patch5: xserver-1.12.patch
+Patch6: gcc48.patch
# ubuntu patches
Patch10: 16-no-update.patch
Patch11: 18-system-xorg.patch
@@ -497,6 +498,7 @@ Moduł jądra Linuksa dla VirtualBoksa - sterownik obsługi DRM.
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%patch6 -p1
%{__sed} -i -e 's, at VBOX_DOC_PATH@,%{_docdir}/%{name}-%{version},' \
-e 's/Categories=.*/Categories=Utility;Emulator;/' src/VBox/Installer/common/virtualbox.desktop.in
diff --git a/gcc48.patch b/gcc48.patch
new file mode 100644
index 0000000..73d1aae
--- /dev/null
+++ b/gcc48.patch
@@ -0,0 +1,11 @@
+--- VirtualBox-4.2.12/configure~ 2013-05-25 10:37:20.966442108 +0200
++++ VirtualBox-4.2.12/configure 2013-05-25 10:47:20.825486915 +0200
+@@ -414,7 +414,7 @@
+ elif [ $cc_maj -lt 3 \
+ -o \( $cc_maj -eq 3 -a $cc_min -lt 2 \) \
+ -o \( $cc_maj -eq 4 -a $cc_min -lt 1 -a "$OS" != "darwin" \) \
+- -o \( $cc_maj -eq 4 -a $cc_min -gt 7 \) \
++ -o \( $cc_maj -eq 4 -a $cc_min -gt 8 \) \
+ -o $cc_maj -gt 4 ]; then
+ log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<8"
+ fail really
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/VirtualBox.git/commitdiff/53a63bfec10bc4118d348b1b347465ca61ca4aa1
More information about the pld-cvs-commit
mailing list