commit: 76fccfc8f679ede1be607d88454573f9153f61a3 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Tue Aug 18 22:31:15 2020 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Tue Aug 18 22:31:21 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76fccfc8
dev-util/patchelf: Version bump to 0.11 Bug: https://bugs.gentoo.org/708786 Package-Manager: Portage-3.0.3, Repoman-2.3.23 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> dev-util/patchelf/Manifest | 1 + dev-util/patchelf/patchelf-0.11.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-util/patchelf/Manifest b/dev-util/patchelf/Manifest index 87e5c479f3f..4ac2f5003ee 100644 --- a/dev-util/patchelf/Manifest +++ b/dev-util/patchelf/Manifest @@ -1 +1,2 @@ DIST patchelf-0.10.tar.bz2 158604 BLAKE2B 6aed9c2e7f37ff0330ca517a9491c46a93212140367b720bf94da4e4ec29a4978c920b53ce306ec333b3f7ac0216ff59637048c6997cfea4a34a87f2a0448796 SHA512 647ad13b7d45b3c5d20683ef8fe9760cb7f213e879231b6c5780bf32771adfbf7c5e5ce694c08e5681dceda63857d7d8a2d53efb60f799d3e7290cebc02ab501 +DIST patchelf-0.11.tar.bz2 159046 BLAKE2B 48d8dd986c681facd8d925d8f471ed6b4cae6a06472d66c1c22a32ded796f50be8d30cefc2847890558c2799707c33beb64ffc5d09f6d142120363bea5e40456 SHA512 ad3a99db6952412a2dac27256640cb9152b8bf5d189f1685b7478b9773bb612e06621511fc7338b2defc435bcdc26f67f79c2d830570a6da70f9d280b123d977 diff --git a/dev-util/patchelf/patchelf-0.11.ebuild b/dev-util/patchelf/patchelf-0.11.ebuild new file mode 100644 index 00000000000..ec5c769e0af --- /dev/null +++ b/dev-util/patchelf/patchelf-0.11.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Small utility to modify the dynamic linker and RPATH of ELF executables" +HOMEPAGE="https://nixos.org/patchelf.html" +SRC_URI="https://nixos.org/releases/${PN}/${P}/${P}.tar.bz2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +LICENSE="GPL-3" + +S="${WORKDIR}/${P}.20200609.d6b2a72" + +src_prepare() { + default + rm src/elf.h || die + + sed -i \ + -e 's:-Werror::g' \ + configure.ac || die + + eautoreconf +} + +src_test() { + emake check \ + CFLAGS+=" -no-pie" \ + CXXFLAGS+=" -no-pie" +}
