public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/virtualbox-guest-additions] alext-upd-to-7.2.12: Add a patch to fix build on Fedora 30
Date: Sun, 12 Jul 2026 20:57:48 GMT	[thread overview]
Message-ID: <178388986806.1.3595499555307114743.rpms-virtualbox-guest-additions-cf4c00c2558d@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/virtualbox-guest-additions
Branch : alext-upd-to-7.2.12
Commit : cf4c00c2558d375dd0725d3038e16d214f15c45f
Author : Björn Esser <besser82@fedoraproject.org>
Date   : 2019-01-15T11:34:24+01:00
Stats  : +33/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/virtualbox-guest-additions/c/cf4c00c2558d375dd0725d3038e16d214f15c45f?branch=alext-upd-to-7.2.12

Log:
Add a patch to fix build on Fedora 30

---
diff --git a/VirtualBox-6.0.0-fix-build.patch b/VirtualBox-6.0.0-fix-build.patch
new file mode 100644
index 0000000..1d79800
--- /dev/null
+++ b/VirtualBox-6.0.0-fix-build.patch
@@ -0,0 +1,30 @@
+Index: VirtualBox-6.0.0/src/VBox/Runtime/r3/linux/semevent-linux.cpp
+===================================================================
+--- VirtualBox-6.0.0.orig/src/VBox/Runtime/r3/linux/semevent-linux.cpp
++++ VirtualBox-6.0.0/src/VBox/Runtime/r3/linux/semevent-linux.cpp
+@@ -37,7 +37,9 @@
+  * against glibc < 2.6.
+  */
+ #include "../posix/semevent-posix.cpp"
+-asm volatile (".global epoll_pwait");
++/* Fedora is guaranteed to ship glibc > 2.6
++ *  asm volatile (".global epoll_pwait");
++ */
+ 
+ #else /* glibc < 2.6 */
+ 
+Index: VirtualBox-6.0.0/src/VBox/Runtime/r3/linux/semeventmulti-linux.cpp
+===================================================================
+--- VirtualBox-6.0.0.orig/src/VBox/Runtime/r3/linux/semeventmulti-linux.cpp
++++ VirtualBox-6.0.0/src/VBox/Runtime/r3/linux/semeventmulti-linux.cpp
+@@ -39,7 +39,9 @@
+  * against glibc < 2.6.
+  */
+ #include "../posix/semeventmulti-posix.cpp"
+-asm volatile (".global epoll_pwait");
++/* Fedora is guaranteed to ship glibc > 2.6
++ *  asm volatile (".global epoll_pwait");
++ */
+ 
+ #else /* glibc < 2.6 */
+ 

diff --git a/virtualbox-guest-additions.spec b/virtualbox-guest-additions.spec
index 72b70a5..4a3852f 100644
--- a/virtualbox-guest-additions.spec
+++ b/virtualbox-guest-additions.spec
@@ -21,6 +21,8 @@ Patch3:     VirtualBox-5.2.10-xclient.patch
 #Patch4:     VirtualBox-5.2.6-gcc8.patch
 # From Archlinux
 Patch10:    010-linux-4.16-mount-fixes.patch
+# To fix build with Fedora 30.
+Patch11:    VirtualBox-6.0.0-fix-build.patch
 
 BuildRequires:  gcc-c++
 BuildRequires:  kBuild >= 0.1.9998.r3093
@@ -198,6 +200,7 @@ getent passwd vboxadd >/dev/null || \
 %changelog
 * Mon Jan 14 2019 Björn Esser <besser82@fedoraproject.org> - 6.0.0-2
 - Rebuilt for libcrypt.so.2 (#1666033)
+- Add a patch to fix build on Fedora 30
 
 * Thu Dec 20 2018 Sérgio Basto <sergio@serjux.com> - 6.0.0-1
 - VirtualBox 6.0.0

                 reply	other threads:[~2026-07-12 20:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178388986806.1.3595499555307114743.rpms-virtualbox-guest-additions-cf4c00c2558d@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox