Diff patchelf-0.17.2 with a patchelf-0.18.0
| /usr/portage/dev-util/patchelf/patchelf-0.18.0.ebuild 2024-12-25 14:59:49.059270089 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2023 Gentoo Authors |
|
| 1 |
# Copyright 1999-2024 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| ... | ... | |
| 9 | 9 |
HOMEPAGE="https://github.com/NixOS/patchelf" |
| 10 | 10 |
SRC_URI="https://github.com/NixOS/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
| 11 | 11 |
SLOT="0" |
| 12 |
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~riscv-linux ~x86-linux" |
|
| 12 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 x86 ~amd64-linux ~riscv-linux ~x86-linux" |
|
| 13 | 13 |
LICENSE="GPL-3" |
| 14 | 14 | |
| 15 |
PATCHES=( |
|
| 16 |
"${FILESDIR}"/${PN}-glibc-dt-mips-xhash.patch
|
|
| 17 |
"${FILESDIR}"/${PN}-0.18.0-alpha.patch
|
|
| 18 |
) |
|
| 19 | ||
| 15 | 20 |
src_prepare() {
|
| 16 |
default |
|
| 17 | 21 |
rm src/elf.h || die |
| 22 |
default |
|
| 18 | 23 | |
| 19 | 24 |
sed -i \ |
| 20 | 25 |
-e 's:-Werror::g' \ |