Сравнение binutils-2.32-r2 с binutils-2.33.1-r1
/usr/portage/sys-devel/binutils/binutils-2.33.1-r1.ebuild 2023-10-09 14:52:35.476368501 +0300 | ||
---|---|---|
19 | 19 |
# PATCH_DEV - Use download URI https://dev.gentoo.org/~{PATCH_DEV}/distfiles/... |
20 | 20 |
# for the patchsets |
21 | 21 | |
22 |
PATCH_VER=3 |
|
22 |
PATCH_VER=2 |
|
23 | 23 |
PATCH_DEV=slyfox |
24 | 24 | |
25 | 25 |
case ${PV} in |
... | ... | |
33 | 33 |
*) |
34 | 34 |
SRC_URI="mirror://gnu/binutils/binutils-${PV}.tar.xz" |
35 | 35 |
SLOT=$(ver_cut 1-2) |
36 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
|
36 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" |
|
37 | 37 |
;; |
38 | 38 |
esac |
39 | 39 | |
... | ... | |
46 | 46 |
[[ -z ${PATCH_VER} ]] || SRC_URI="${SRC_URI} |
47 | 47 |
https://dev.gentoo.org/~${PATCH_DEV}/distfiles/binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz" |
48 | 48 | |
49 |
PATCHES=( |
|
50 |
# Disable gold testsuite since it always fails. |
|
51 |
"${FILESDIR}/${PN}-2.29.1-nogoldtest.patch" |
|
52 | ||
53 |
"${FILESDIR}"/${PN}-2.32-gcc-10.patch |
|
54 |
"${FILESDIR}"/${PN}-2.33-gcc-10.patch |
|
55 |
) |
|
56 | ||
57 | 49 |
# |
58 | 50 |
# The cross-compile logic |
59 | 51 |
# |
... | ... | |
82 | 74 | |
83 | 75 |
RESTRICT="!test? ( test )" |
84 | 76 | |
77 |
PATCHES=( |
|
78 |
"${FILESDIR}"/${PN}-2.33-gcc-10.patch |
|
79 |
) |
|
80 | ||
85 | 81 |
MY_BUILDDIR=${WORKDIR}/build |
86 | 82 | |
87 | 83 |
src_unpack() { |
... | ... | |
98 | 94 | |
99 | 95 |
src_prepare() { |
100 | 96 |
if [[ -n ${PATCH_VER} ]] ; then |
101 |
# Use upstream patch to enable development mode |
|
102 |
rm -v "${WORKDIR}/patch"/0000-Gentoo-Git-is-development.patch || die |
|
103 | ||
104 | 97 |
einfo "Applying binutils-${PATCH_BINUTILS_VER} patchset ${PATCH_VER}" |
105 | 98 |
eapply "${WORKDIR}/patch"/*.patch |
106 | 99 |
fi |