From e7e4a30778822797c1228b6d30e6980951fc1ce4 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sun, 18 Dec 2022 19:39:57 +0100 Subject: [PATCH] cgit: disable buggy sendfile support. --- srcpkgs/cgit/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/cgit/template b/srcpkgs/cgit/template index b991fe6f0ca..44567067685 100644 --- a/srcpkgs/cgit/template +++ b/srcpkgs/cgit/template @@ -2,7 +2,7 @@ _git_version=2.25.1 pkgname=cgit version=1.2.3 -revision=3 +revision=4 create_wrksrc=yes hostmakedepends="asciidoc" makedepends="zlib-devel" @@ -21,6 +21,9 @@ post_extract() { mv git-$_git_version git mv cgit-$version/* cgit-$version/.??* . rmdir cgit-$version + + # bug: https://inbox.vuxu.org/cgit/87v8m8pnen.fsf@vuxu.org/ + vsed -i '/HAVE_LINUX_SENDFILE = YesPlease/d' cgit.mk } do_configure() {