1 |
commit: 76fccfc8f679ede1be607d88454573f9153f61a3 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 18 22:31:15 2020 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 18 22:31:21 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76fccfc8 |
7 |
|
8 |
dev-util/patchelf: Version bump to 0.11 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/708786 |
11 |
Package-Manager: Portage-3.0.3, Repoman-2.3.23 |
12 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
13 |
|
14 |
dev-util/patchelf/Manifest | 1 + |
15 |
dev-util/patchelf/patchelf-0.11.ebuild | 32 ++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 33 insertions(+) |
17 |
|
18 |
diff --git a/dev-util/patchelf/Manifest b/dev-util/patchelf/Manifest |
19 |
index 87e5c479f3f..4ac2f5003ee 100644 |
20 |
--- a/dev-util/patchelf/Manifest |
21 |
+++ b/dev-util/patchelf/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST patchelf-0.10.tar.bz2 158604 BLAKE2B 6aed9c2e7f37ff0330ca517a9491c46a93212140367b720bf94da4e4ec29a4978c920b53ce306ec333b3f7ac0216ff59637048c6997cfea4a34a87f2a0448796 SHA512 647ad13b7d45b3c5d20683ef8fe9760cb7f213e879231b6c5780bf32771adfbf7c5e5ce694c08e5681dceda63857d7d8a2d53efb60f799d3e7290cebc02ab501 |
24 |
+DIST patchelf-0.11.tar.bz2 159046 BLAKE2B 48d8dd986c681facd8d925d8f471ed6b4cae6a06472d66c1c22a32ded796f50be8d30cefc2847890558c2799707c33beb64ffc5d09f6d142120363bea5e40456 SHA512 ad3a99db6952412a2dac27256640cb9152b8bf5d189f1685b7478b9773bb612e06621511fc7338b2defc435bcdc26f67f79c2d830570a6da70f9d280b123d977 |
25 |
|
26 |
diff --git a/dev-util/patchelf/patchelf-0.11.ebuild b/dev-util/patchelf/patchelf-0.11.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..ec5c769e0af |
29 |
--- /dev/null |
30 |
+++ b/dev-util/patchelf/patchelf-0.11.ebuild |
31 |
@@ -0,0 +1,32 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit autotools |
38 |
+ |
39 |
+DESCRIPTION="Small utility to modify the dynamic linker and RPATH of ELF executables" |
40 |
+HOMEPAGE="https://nixos.org/patchelf.html" |
41 |
+SRC_URI="https://nixos.org/releases/${PN}/${P}/${P}.tar.bz2" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
44 |
+LICENSE="GPL-3" |
45 |
+ |
46 |
+S="${WORKDIR}/${P}.20200609.d6b2a72" |
47 |
+ |
48 |
+src_prepare() { |
49 |
+ default |
50 |
+ rm src/elf.h || die |
51 |
+ |
52 |
+ sed -i \ |
53 |
+ -e 's:-Werror::g' \ |
54 |
+ configure.ac || die |
55 |
+ |
56 |
+ eautoreconf |
57 |
+} |
58 |
+ |
59 |
+src_test() { |
60 |
+ emake check \ |
61 |
+ CFLAGS+=" -no-pie" \ |
62 |
+ CXXFLAGS+=" -no-pie" |
63 |
+} |