public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/virtualbox-guest-additions] alext-upd-to-7.2.12: Fix build with gcc8
@ 2026-07-12 20:57 Hans de Goede
  0 siblings, 0 replies; only message in thread
From: Hans de Goede @ 2026-07-12 20:57 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/virtualbox-guest-additions
Branch : alext-upd-to-7.2.12
Commit : 09d8bc174fde6dfdc2fb71eb265d96de5c31d6b3
Author : Hans de Goede <hdegoede@redhat.com>
Date   : 2018-02-14T08:56:03+01:00
Stats  : +16/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/virtualbox-guest-additions/c/09d8bc174fde6dfdc2fb71eb265d96de5c31d6b3?branch=alext-upd-to-7.2.12

Log:
Fix build with gcc8

---
diff --git a/VirtualBox-5.2.6-gcc8.patch b/VirtualBox-5.2.6-gcc8.patch
new file mode 100644
index 0000000..37a0348
--- /dev/null
+++ b/VirtualBox-5.2.6-gcc8.patch
@@ -0,0 +1,14 @@
+diff -up VirtualBox-5.2.6/configure~ VirtualBox-5.2.6/configure
+--- VirtualBox-5.2.6/configure~	2018-01-15 15:49:37.000000000 +0100
++++ VirtualBox-5.2.6/configure	2018-02-14 08:53:25.602712747 +0100
+@@ -440,8 +440,8 @@ check_gcc()
+       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
+-        log_failure "gcc version $cc_maj.$cc_min found, expected gcc 4.x...7.x"
++             -o $cc_maj -gt 8 ]; then
++        log_failure "gcc version $cc_maj.$cc_min found, expected gcc 4.x...8.x"
+         fail really
+       else
+         log_success "found version $cc_ver"

diff --git a/virtualbox-guest-additions.spec b/virtualbox-guest-additions.spec
index 01f7c09..c1b44d8 100644
--- a/virtualbox-guest-additions.spec
+++ b/virtualbox-guest-additions.spec
@@ -19,6 +19,8 @@ Patch1:     VirtualBox-5.0.18-xserver_guest.patch
 Patch2:     0001-VBoxServiceAutoMount-Change-Linux-mount-code-to-use-.patch
 # Do not show an error dialog when not running under vbox
 Patch3:     VirtualBox-5.2.6-xclient.patch
+# Fix build with gcc8
+Patch4:     VirtualBox-5.2.6-gcc8.patch
 
 BuildRequires:  kBuild >= 0.1.9998
 BuildRequires:  desktop-file-utils

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-12 20:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-12 20:57 [rpms/virtualbox-guest-additions] alext-upd-to-7.2.12: Fix build with gcc8 Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox