[packages/xen] - apply GCC 15 fixes only if GCC version >= 15

hawk hawk at pld-linux.org
Fri Aug 15 11:05:05 CEST 2025


commit 53c053b919706391a7bbad43e9a28784b92becd5
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Fri Aug 15 11:04:45 2025 +0200

    - apply GCC 15 fixes only if GCC version >= 15

 xen.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/xen.spec b/xen.spec
index 89bb746..ddd8266 100644
--- a/xen.spec
+++ b/xen.spec
@@ -443,8 +443,10 @@ Nadzorca Xen w postaci, która może być uruchomiona wprost z firmware
 %patch -P 17 -p1
 %endif
 %patch -P 18 -p1
+%if %(echo %{cc_version} | cut -d. -f1) >= 15
 %patch -P 19 -p1
 %patch -P 20 -p1
+%endif
 
 # stubdom sources
 ln -s %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} stubdom
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xen.git/commitdiff/53c053b919706391a7bbad43e9a28784b92becd5



More information about the pld-cvs-commit mailing list