Diff acl-2.3.1 with a acl-2.3.1-r1
/usr/portage/sys-apps/acl/acl-2.3.1-r1.ebuild 2023-10-09 14:52:35.336368498 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=7 |
5 | 5 | |
6 |
inherit flag-o-matic libtool multilib-minimal usr-ldscript |
|
6 |
inherit flag-o-matic libtool multilib-minimal toolchain-funcs usr-ldscript |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Access control list utilities, libraries, and headers" |
9 | 9 |
HOMEPAGE="https://savannah.nongnu.org/projects/acl" |
... | ... | |
20 | 20 |
DEPEND="${RDEPEND}" |
21 | 21 |
BDEPEND="nls? ( sys-devel/gettext )" |
22 | 22 | |
23 |
PATCHES=( |
|
24 |
"${FILESDIR}/${PN}-2.3.1-musl-1.2.4-lfs64-fix.patch" |
|
25 |
) |
|
26 | ||
27 | 23 |
src_prepare() { |
28 | 24 |
default |
29 | 25 | |
... | ... | |
36 | 32 |
# bug #667372 |
37 | 33 |
filter-lto |
38 | 34 | |
35 |
# Broken with FORTIFY_SOURCE=3 |
|
36 |
# Our toolchain sets F_S=2 by default w/ >= -O2, so we need |
|
37 |
# to unset F_S first, then explicitly set 2, to negate any default |
|
38 |
# and anything set by the user if they're choosing 3 (or if they've |
|
39 |
# modified GCC to set 3). |
|
40 |
# |
|
41 |
# Refs: |
|
42 |
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104964 |
|
43 |
# https://savannah.nongnu.org/bugs/index.php?62519 |
|
44 |
# bug #847280 |
|
45 |
if tc-enables-fortify-source ; then |
|
46 |
filter-flags -D_FORTIFY_SOURCE=3 |
|
47 |
append-cppflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 |
|
48 |
fi |
|
49 | ||
39 | 50 |
local myeconfargs=( |
40 | 51 |
--bindir="${EPREFIX}"/bin |
41 | 52 |
$(use_enable static-libs static) |