From bd1c7c9637fa4d5cc1994380f522d9a7dda4c4e91c6cf8edc015a505e575e49c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 24 Apr 2018 09:43:21 +0000 Subject: [PATCH] Accepting request 599286 from home:marxin:branches:Virtualization - Add gcc8-configure.patch to fix boo#1090367. OBS-URL: https://build.opensuse.org/request/show/599286 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=419 --- gcc8-configure.patch | 11 +++++++++++ virtualbox.changes | 5 +++++ virtualbox.spec | 2 ++ 3 files changed, 18 insertions(+) create mode 100644 gcc8-configure.patch diff --git a/gcc8-configure.patch b/gcc8-configure.patch new file mode 100644 index 0000000..76226e3 --- /dev/null +++ b/gcc8-configure.patch @@ -0,0 +1,11 @@ +--- a/configure 2018-04-20 13:44:45.259234618 +0200 ++++ b/configure +@@ -440,7 +445,7 @@ + elif [ $cc_maj -lt 4 \ + -o \( $cc_maj -eq 4 -a $cc_min -lt 4 -a "$OS" != "darwin" \) \ + -o \( $cc_maj -eq 4 -a $cc_min -lt 2 -a "$OS" = "darwin" \) \ +- -o $cc_maj -gt 7 ]; then ++ -o $cc_maj -gt 8 ]; then + log_failure "gcc version $cc_maj.$cc_min found, expected gcc 4.x...7.x" + fail really + else diff --git a/virtualbox.changes b/virtualbox.changes index c4d35b6..9ab9577 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 20 12:05:10 UTC 2018 - mliska@suse.cz + +- Add gcc8-configure.patch to fix boo#1090367. + ------------------------------------------------------------------- Wed Apr 18 15:56:20 UTC 2018 - Larry.Finger@lwfinger.net diff --git a/virtualbox.spec b/virtualbox.spec index d2898da..8455141 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -119,6 +119,7 @@ Patch121: remove_vbox_video_build.patch Patch122: fixes_for_4.16.patch # Fix build for kernel 4.17 Patch123: fixes_for_4.17.patch +Patch124: gcc8-configure.patch # BuildRequires: LibVNCServer-devel BuildRequires: SDL-devel @@ -416,6 +417,7 @@ as an "extpack" for VirtualBox. The implementation is licensed under GPL. %patch122 -p1 %endif %patch123 -p1 +%patch124 -p1 #copy user manual cp %{SOURCE1} UserManual.pdf