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