diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/quota/files/quota-4.10-fix-building-on-musl.patch b/sdk_container/src/third_party/portage-stable/sys-fs/quota/files/quota-4.10-fix-building-on-musl.patch new file mode 100644 index 0000000000..de58e0cfb4 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/quota/files/quota-4.10-fix-building-on-musl.patch @@ -0,0 +1,12 @@ +https://sourceforge.net/p/linuxquota/bugs/145/ + +--- a/setproject.c ++++ b/setproject.c +@@ -5,6 +5,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/quota/quota-4.10.ebuild b/sdk_container/src/third_party/portage-stable/sys-fs/quota/quota-4.10.ebuild index 326b49b0d0..9b110634bd 100644 --- a/sdk_container/src/third_party/portage-stable/sys-fs/quota/quota-4.10.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-fs/quota/quota-4.10.ebuild @@ -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