sys-fs/quota: Sync with Gentoo

It's from Gentoo commit 5f781923d0363ad7f8e077741d04ab8577d36551.
This commit is contained in:
Flatcar Buildbot 2025-06-16 07:14:37 +00:00 committed by Krzesimir Nowak
parent 30f5d4cf58
commit 00e700f122
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,12 @@
https://sourceforge.net/p/linuxquota/bugs/145/
--- a/setproject.c
+++ b/setproject.c
@@ -5,6 +5,7 @@
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
+#include <libgen.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -9,7 +9,7 @@ SRC_URI="https://downloads.sourceforge.net/linuxquota/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
IUSE="ldap netlink nls rpc selinux tcpd"
RDEPEND="
@ -31,6 +31,10 @@ BDEPEND="nls? ( sys-devel/gettext )"
PDEPEND="rpc? ( net-nds/rpcbind )"
RDEPEND+=" selinux? ( sec-policy/selinux-quota )"
PATCHES=(
"${FILESDIR}"/${PN}-4.10-fix-building-on-musl.patch
)
src_configure() {
local myeconfargs=(
--enable-ext2direct