From bcc2a5f098846f08c379915c22288d12c83151e3 Mon Sep 17 00:00:00 2001 From: x Date: Fri, 2 Oct 2026 15:55:23 +0300 Subject: [PATCH 1/2] zramen: fix driver detection on monolithic kernels --- .../patches/fix-monolithic-kernel-detection.patch | 12 ++++++++++++ srcpkgs/zramen/template | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/zramen/patches/fix-monolithic-kernel-detection.patch diff --git a/srcpkgs/zramen/patches/fix-monolithic-kernel-detection.patch b/srcpkgs/zramen/patches/fix-monolithic-kernel-detection.patch new file mode 100644 index 00000000000000..90cddbf2a55a5c --- /dev/null +++ b/srcpkgs/zramen/patches/fix-monolithic-kernel-detection.patch @@ -0,0 +1,12 @@ +--- a/zramen ++++ b/zramen +@@ -279,7 +279,7 @@ + fi + fi + +- if ! [[ -d '/sys/module/zram' ]]; then ++ if ! [[ -d '/sys/class/zram-control' ]]; then + INFO 'Attempting to find zram module - not part of kernel' + modprobe --dry-run zram 2>/dev/null \ + || ERRO 'Sorry, could not find zram module' + diff --git a/srcpkgs/zramen/template b/srcpkgs/zramen/template index ae3853fd3159ee..449fa808841cdb 100644 --- a/srcpkgs/zramen/template +++ b/srcpkgs/zramen/template @@ -1,7 +1,7 @@ # Template file for 'zramen' pkgname=zramen version=1.0.1 -revision=1 +revision=2 depends="virtual?awk bash coreutils grep kmod util-linux" short_desc="Manage zram swap space" maintainer="Andy Weidenbaum " From 6eb7e10b1120bca3a0667452449b11ac7b5bdad3 Mon Sep 17 00:00:00 2001 From: x Date: Wed, 28 Oct 2026 15:44:57 +0300 Subject: [PATCH 2/2] xmlto: fix distfiles after pagure shutdown Fixes: #63237 --- srcpkgs/xmlto/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/xmlto/template b/srcpkgs/xmlto/template index 3872ab9ac84c52..204f9a63b0c9eb 100644 --- a/srcpkgs/xmlto/template +++ b/srcpkgs/xmlto/template @@ -10,8 +10,8 @@ depends="bash libxslt docbook-xsl" short_desc="Tool to help transform XML documents into other formats" maintainer="Orphaned " license="GPL-2.0-or-later" -homepage="https://pagure.io/xmlto/" -distfiles="https://pagure.io/xmlto/archive/${version}/xmlto-${version}.tar.gz" +homepage="https://codeberg.org/xmlto/xmlto" +distfiles="https://anduin.linuxfromscratch.org/BLFS/xmlto/xmlto-${version}.tar.gz" checksum=40504db68718385a4eaa9154a28f59e51e59d006d1aa14f5bc9d6fded1d6017a pre_configure() {