cgit: disable buggy sendfile support.

This commit is contained in:
Leah Neukirchen 2022-12-18 19:39:57 +01:00
parent e2ddd07f34
commit e7e4a30778
1 changed files with 4 additions and 1 deletions

View File

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