1
0
forked from pool/virtualbox

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
This commit is contained in:
Ismail Dönmez 2018-04-24 09:43:21 +00:00 committed by Git OBS Bridge
parent 98f2781f2b
commit bd1c7c9637
3 changed files with 18 additions and 0 deletions

11
gcc8-configure.patch Normal file
View File

@ -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

View File

@ -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

View File

@ -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