]> git.pld-linux.org Git - packages/VirtualBox.git/blob - gcc48.patch
- fix lightdm BRs
[packages/VirtualBox.git] / gcc48.patch
1 --- VirtualBox-4.2.12/configure~        2013-05-25 10:37:20.966442108 +0200
2 +++ VirtualBox-4.2.12/configure 2013-05-25 10:47:20.825486915 +0200
3 @@ -414,7 +414,7 @@
4        elif [ $cc_maj -lt 3 \
5               -o \( $cc_maj -eq 3 -a $cc_min -lt 2 \) \
6               -o \( $cc_maj -eq 4 -a $cc_min -lt 1 -a "$OS" != "darwin" \) \
7 -             -o \( $cc_maj -eq 4 -a $cc_min -gt 7 \) \
8 +             -o \( $cc_maj -eq 4 -a $cc_min -gt 8 \) \
9               -o $cc_maj -gt 4 ]; then
10          log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<8"
11          fail really
12 --- VirtualBox-4.2.12/Config.kmk~       2013-05-25 11:56:55.629895894 +0200
13 +++ VirtualBox-4.2.12/Config.kmk        2013-05-25 14:50:59.850448713 +0200
14 @@ -2304,7 +2304,7 @@
15  #
16  ifdef VBOX_WITH_WARNINGS_AS_ERRORS
17   if $(VBOX_GCC_VERSION_CXX) >= 40000
18 -  VBOX_GCC_WERR ?= -Werror
19 +  VBOX_GCC_WERR ?= -Werror -Wno-error=unused-parameter
20   endif
21   VBOX_VCC_WERR ?= -WX
22   VBOX_VCC_LD_WERR ?= ## @todo later also: -WX
This page took 0.028743 seconds and 3 git commands to generate.