commit fd9ef30258be7bd449bb5481cf88fa9f834ecee1
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Mon Jul 25 21:24:50 2022 +0100
Fix el7 build
VirtualBox.spec | 2 ++
update_vbox.sh | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/VirtualBox.spec b/VirtualBox.spec
index 6535795..4200445 100644
--- a/VirtualBox.spec
+++ b/VirtualBox.spec
@@ -346,7 +346,9 @@ rm -r src/libs/zlib-1.2.*/
%patch80 -p1 -b .gcc10
%patch88 -p1 -b .lzf
%patch90 -p1 -b .python3.11
+%if 0%{?fedora} >= 36 || 0%{?rhel} >= 9
%patch92 -p1 -b .c++17
+%endif
%build
diff --git a/update_vbox.sh b/update_vbox.sh
index 02df05b..77f3869 100755
--- a/update_vbox.sh
+++ b/update_vbox.sh
@@ -1,7 +1,7 @@
VERSION=6.1.36
REL=1
RAWHIDE=37
-REPOS="f36 f35 f34 el9 el8 el7"
+REPOS="f36 f35 el9 el8 el7"
if [ -z "$1" ]
then
stage=0