diff options
Diffstat (limited to 'libre/virtualbox-libre/003-gcc-48.patch')
-rw-r--r-- | libre/virtualbox-libre/003-gcc-48.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/libre/virtualbox-libre/003-gcc-48.patch b/libre/virtualbox-libre/003-gcc-48.patch deleted file mode 100644 index 3039ea2c6..000000000 --- a/libre/virtualbox-libre/003-gcc-48.patch +++ /dev/null @@ -1,39 +0,0 @@ -Index: configure -=================================================================== ---- a/configure (revision 45449) -+++ a/configure (revision 45450) -@@ -416,7 +416,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 -Index: Config.kmk -=================================================================== ---- a/Config.kmk (revision 45449) -+++ a/Config.kmk (revision 45450) -@@ -1503,7 +1503,7 @@ - # - # Compiler optimization flags. - # --VBOX_GCC_WARN ?= -Wall $(VBOX_GCC_Wextra) $(VBOX_GCC_Wno-missing-field-initializers) -Wno-unused -Wno-trigraphs $(VBOX_GCC_fdiagnostics-show-option) -+VBOX_GCC_WARN ?= -Wall $(VBOX_GCC_Wextra) $(VBOX_GCC_Wno-missing-field-initializers) -Wno-unused -Wno-trigraphs $(VBOX_GCC_fdiagnostics-show-option) $(VBOX_GCC_no-unused-parameter) - VBOX_GCC_WARN_PEDANTIC = -Wshadow $(VBOX_GCC_WARN) -Wno-long-long - ifdef VBOX_WITH_MASOCHISTIC_WARNINGS - VBOX_GCC_WARN_PEDANTIC += -Wunused-variable -Wunused-function -Wunused-label -Wunused-parameter -@@ -2285,6 +2285,12 @@ - $(QUIET)$(APPEND) '$@' ' endif' - $(QUIET)$(APPEND) '$@' 'endif' - endif -+# Prevent warnings about unused parameters as of gcc-4.8 as this warning is now very verbose -+ $(QUIET)$(APPEND) '$@' 'ifneq ($$(VBOX_GCC_VERSION_CXX),)' -+ $(QUIET)$(APPEND) '$@' ' ifneq ($$(int-ge $$(VBOX_GCC_VERSION_CXX),40800),)' -+ $(QUIET)$(APPEND) '$@' ' VBOX_GCC_no-unused-parameter ?= -Wno-unused-parameter' -+ $(QUIET)$(APPEND) '$@' ' endif' -+ $(QUIET)$(APPEND) '$@' 'endif' - ifeq ($(KBUILD_TARGET),solaris) - $(QUIET)$(APPEND) '$@' 'VBOX_GCC_msave-args ?= $(call VBOX_GCC_CHECK_CXX,-msave-args,)' - # Detect the solaris assembler. It is used by the the 4.x gcc compilers, |