From e966775197e71a39bf5b19ccfd39ccbc2eedc3b2 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 1 Feb 2026 11:59:05 +0200 Subject: [PATCH] Update package version to 6.12.68 --- pkg.info | 6 ++++-- source-files/rust-1.93.0-fix.patch | 13 +++++++++++++ source.sh | 3 +++ 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 source-files/rust-1.93.0-fix.patch diff --git a/pkg.info b/pkg.info index 32330d8..bfba22a 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,11 @@ name: linux-lts description: The longterm support version of the linux kernel -version: 6.12.67 +version: 6.12.68 revision: 1 url: https://www.kernel.org/ license: GPL2-only +maintainers: + - enumdev@enumerated.dev architecture: any type: source make_depends: @@ -22,7 +24,7 @@ downloads: - url: https://cdn.kernel.org/pub/linux/kernel/v${BPM_PKG_VERSION%%.*}.x/linux-${BPM_PKG_VERSION}.tar.xz extract_to: ${BPM_SOURCE} extract_strip_components: 1 - checksum: 16805dc62e1fa5ef8a3f466f3f44a2efb171b5206d6840ced4ba5475cf12c432 + checksum: d367c7504bd4da520dd01eb08125d2d0ac088bc8af4cd56d236f2074dd4225b7 split_packages: - name: linux-lts optional_depends: diff --git a/source-files/rust-1.93.0-fix.patch b/source-files/rust-1.93.0-fix.patch new file mode 100644 index 0000000..894f2d4 --- /dev/null +++ b/source-files/rust-1.93.0-fix.patch @@ -0,0 +1,13 @@ +diff --git a/arch/x86/Makefile b/arch/x86/Makefile +index 4db7e4bf69f5..c60371db49d9 100644 +--- a/arch/x86/Makefile ++++ b/arch/x86/Makefile +@@ -98,7 +98,7 @@ ifeq ($(CONFIG_X86_KERNEL_IBT),y) + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 + # + KBUILD_CFLAGS += $(call cc-option,-fcf-protection=branch -fno-jump-tables) +-KBUILD_RUSTFLAGS += -Zcf-protection=branch -Zno-jump-tables ++KBUILD_RUSTFLAGS += -Zcf-protection=branch $(if $(call rustc-min-version,109300),-Cjump-tables=n,-Zno-jump-tables) + else + KBUILD_CFLAGS += $(call cc-option,-fcf-protection=none) + endif diff --git a/source.sh b/source.sh index 0a0aea9..3815ca7 100644 --- a/source.sh +++ b/source.sh @@ -6,6 +6,9 @@ # This function is used for putting downloaded files to the correct location or applying patches prepare() { cd "$BPM_SOURCE" + + patch -Np1 -i "$BPM_WORKDIR"/rust-1.93.0-fix.patch + make mrproper cp ../config .config }