]> git.pld-linux.org Git - packages/VirtualBox.git/commitdiff
- rel 4; allow gcc 4.5 auto/th/VirtualBox-3_1_6-4
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 28 Apr 2010 13:50:38 +0000 (13:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    VirtualBox-gcc.patch -> 1.4
    VirtualBox.spec -> 1.273

VirtualBox-gcc.patch [new file with mode: 0644]
VirtualBox.spec

diff --git a/VirtualBox-gcc.patch b/VirtualBox-gcc.patch
new file mode 100644 (file)
index 0000000..4dadc3a
--- /dev/null
@@ -0,0 +1,14 @@
+--- VirtualBox-3.1.6_OSE/configure~    2010-04-28 15:48:34.341923836 +0200
++++ VirtualBox-3.1.6_OSE/configure     2010-04-28 15:49:21.158168248 +0200
+@@ -394,9 +394,9 @@
+       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 4 \) \
++             -o \( $cc_maj -eq 4 -a $cc_min -gt 5 \) \
+              -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<4"
++        log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<5"
+         fail really
+       else
+         log_success "found version $cc_ver"
index f1e6847e3130627db96c99d8d60d1ba1ece021fa..d701fcec898f7c161afe3565fab148537b0b27b4 100644 (file)
@@ -27,7 +27,7 @@
 %define                _enable_debug_packages  0
 %endif
 
-%define                rel             3
+%define                rel             4
 %define                pname   VirtualBox
 Summary:       VirtualBox OSE - x86 hardware virtualizer
 Summary(pl.UTF-8):     VirtualBox OSE - wirtualizator sprzętu x86
@@ -53,6 +53,7 @@ Patch0:               %{pname}-configure.patch
 Patch1:                %{pname}-configure-spaces.patch
 Patch2:                %{pname}-export_modules.patch
 Patch3:                %{pname}-VBoxSysInfo.patch
+Patch4:                %{name}-gcc.patch
 URL:           http://www.virtualbox.org/
 BuildRequires: rpmbuild(macros) >= 1.531
 %if %{with userspace}
@@ -352,6 +353,7 @@ Sterownik grafiki dla systemu gościa w VirtualBoksie OSE.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %{__sed} -i -e 's,$VBOX_DOC_PATH,%{_docdir}/%{name}-%{version},' src/VBox/Installer/linux/virtualbox.desktop
 %{__sed} -i -e 's/Categories=.*/Categories=Utility;Emulator;/' src/VBox/Installer/linux/virtualbox.desktop
This page took 0.066677 seconds and 4 git commands to generate.