mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-14 00:16:59 +02:00
sys-fs/quota: Sync with Gentoo
It's from Gentoo commit 5f781923d0363ad7f8e077741d04ab8577d36551.
This commit is contained in:
parent
30f5d4cf58
commit
00e700f122
@ -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>
|
@ -9,7 +9,7 @@ SRC_URI="https://downloads.sourceforge.net/linuxquota/${P}.tar.gz"
|
|||||||
|
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
SLOT="0"
|
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"
|
IUSE="ldap netlink nls rpc selinux tcpd"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
@ -31,6 +31,10 @@ BDEPEND="nls? ( sys-devel/gettext )"
|
|||||||
PDEPEND="rpc? ( net-nds/rpcbind )"
|
PDEPEND="rpc? ( net-nds/rpcbind )"
|
||||||
RDEPEND+=" selinux? ( sec-policy/selinux-quota )"
|
RDEPEND+=" selinux? ( sec-policy/selinux-quota )"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-4.10-fix-building-on-musl.patch
|
||||||
|
)
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
local myeconfargs=(
|
local myeconfargs=(
|
||||||
--enable-ext2direct
|
--enable-ext2direct
|
||||||
|
Loading…
Reference in New Issue
Block a user