1
0
forked from pool/virtualbox

Accepting request 600358 from Virtualization

OBS-URL: https://build.opensuse.org/request/show/600358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=161
This commit is contained in:
Dominique Leuenberger 2018-04-26 11:22:46 +00:00 committed by Git OBS Bridge
commit a2805cad0a
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