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() { 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 "