[packages/kernel/LINUX_5_4] - 5.4.301

baggins baggins at pld-linux.org
Fri Nov 7 09:29:44 CET 2025


commit fb2758016df704d0f4ac631c86d3f8d42609f42b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Nov 7 11:29:33 2025 +0100

    - 5.4.301

 gcc15.patch | 21 +++++++++++++++++++++
 kernel.spec |  6 ++++--
 2 files changed, 25 insertions(+), 2 deletions(-)
---
diff --git a/kernel.spec b/kernel.spec
index b71343e7..2a8167b9 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -69,7 +69,7 @@
 
 %define		rel		1
 %define		basever		5.4
-%define		postver		.300
+%define		postver		.301
 
 # define this to '-%{basever}' for longterm branch
 %define		versuffix	-%{basever}
@@ -123,7 +123,7 @@ Source0:	https://www.kernel.org/pub/linux/kernel/v5.x/linux-%{basever}.tar.xz
 # Source0-md5:	ce9b2d974d27408a61c53a30d3f98fb9
 %if "%{postver}" != ".0"
 Patch0:		https://www.kernel.org/pub/linux/kernel/v5.x/patch-%{version}.xz
-# Patch0-md5:	717178cc9f16b2231b05397cecea5111
+# Patch0-md5:	4e880679f2f161fa3eb94faf0d0840d2
 %endif
 Source1:	kernel.sysconfig
 
@@ -216,6 +216,7 @@ Patch2000:	kernel-small_fixes.patch
 Patch2001:	kernel-pwc-uncompress.patch
 Patch2003:	kernel-regressions.patch
 Patch2004:	xfs-reclaim-hack.patch
+Patch2005:	gcc15.patch
 
 # for rescuecd
 # based on ftp://ftp.leg.uct.ac.za/pub/linux/rip/tmpfs_root-2.6.30.diff.gz
@@ -687,6 +688,7 @@ rm -f localversion-rt
 %patch -P 2001 -p1
 #patch -P 2003 -p1
 %patch -P 2004 -p1
+%patch -P 2005 -p1
 
 # Do not remove this, please!
 #patch -P 50000 -p1
diff --git a/gcc15.patch b/gcc15.patch
new file mode 100644
index 00000000..92bf6757
--- /dev/null
+++ b/gcc15.patch
@@ -0,0 +1,21 @@
+--- linux-5.4/arch/x86/boot/Makefile.orig	2025-11-07 11:25:25.438194510 +0100
++++ linux-5.4/arch/x86/boot/Makefile	2025-11-07 11:26:24.356663596 +0100
+@@ -66,6 +66,7 @@
+ # ---------------------------------------------------------------------------
+ 
+ KBUILD_CFLAGS	:= $(REALMODE_CFLAGS) -D_SETUP
++KBUILD_CFLAGS	+= -std=gnu11
+ KBUILD_AFLAGS	:= $(KBUILD_CFLAGS) -D__ASSEMBLY__
+ GCOV_PROFILE := n
+ UBSAN_SANITIZE := n
+--- linux-5.4/arch/x86/realmode/rm/Makefile.orig	2019-11-25 01:32:01.000000000 +0100
++++ linux-5.4/arch/x86/realmode/rm/Makefile	2025-11-07 11:27:17.869996903 +0100
+@@ -69,7 +69,7 @@
+ # ---------------------------------------------------------------------------
+ 
+ KBUILD_CFLAGS	:= $(REALMODE_CFLAGS) -D_SETUP -D_WAKEUP \
+-		   -I$(srctree)/arch/x86/boot
++		   -I$(srctree)/arch/x86/boot -std=gnu11
+ KBUILD_AFLAGS	:= $(KBUILD_CFLAGS) -D__ASSEMBLY__
+ GCOV_PROFILE := n
+ UBSAN_SANITIZE := n
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/fb2758016df704d0f4ac631c86d3f8d42609f42b




More information about the pld-cvs-commit mailing list