1 |
commit: 20bde3f8905f18eb620d2bc4c98d63f64b49549a |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 29 19:57:19 2020 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 29 19:57:19 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20bde3f8 |
7 |
|
8 |
dev-util/patchelf: Version bump to 0.12 |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
12 |
|
13 |
dev-util/patchelf/Manifest | 1 + |
14 |
dev-util/patchelf/patchelf-0.12.ebuild | 30 ++++++++++++++++++++++++++++++ |
15 |
2 files changed, 31 insertions(+) |
16 |
|
17 |
diff --git a/dev-util/patchelf/Manifest b/dev-util/patchelf/Manifest |
18 |
index 4ac2f5003ee..f9192d349b5 100644 |
19 |
--- a/dev-util/patchelf/Manifest |
20 |
+++ b/dev-util/patchelf/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST patchelf-0.10.tar.bz2 158604 BLAKE2B 6aed9c2e7f37ff0330ca517a9491c46a93212140367b720bf94da4e4ec29a4978c920b53ce306ec333b3f7ac0216ff59637048c6997cfea4a34a87f2a0448796 SHA512 647ad13b7d45b3c5d20683ef8fe9760cb7f213e879231b6c5780bf32771adfbf7c5e5ce694c08e5681dceda63857d7d8a2d53efb60f799d3e7290cebc02ab501 |
23 |
DIST patchelf-0.11.tar.bz2 159046 BLAKE2B 48d8dd986c681facd8d925d8f471ed6b4cae6a06472d66c1c22a32ded796f50be8d30cefc2847890558c2799707c33beb64ffc5d09f6d142120363bea5e40456 SHA512 ad3a99db6952412a2dac27256640cb9152b8bf5d189f1685b7478b9773bb612e06621511fc7338b2defc435bcdc26f67f79c2d830570a6da70f9d280b123d977 |
24 |
+DIST patchelf-0.12.tar.gz 103075 BLAKE2B 8ea71eb75bcc40e18a168c1e65856809fcceb8f68a9939e5248464d8c2e5d14d4eb1278965727417a26e70734712121d057c3da689be397f93bdb5234a11d5ba SHA512 2563a5b22b90392d5755d9a08022daf8570fa1b741becbbca92548d0a2f82f7ee21175a2c34816a4653c89c2219bf59b1440304b0fa2d49842e398ab18b9923c |
25 |
|
26 |
diff --git a/dev-util/patchelf/patchelf-0.12.ebuild b/dev-util/patchelf/patchelf-0.12.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..b3d5fb270ec |
29 |
--- /dev/null |
30 |
+++ b/dev-util/patchelf/patchelf-0.12.ebuild |
31 |
@@ -0,0 +1,30 @@ |
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://github.com/NixOS/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
44 |
+LICENSE="GPL-3" |
45 |
+ |
46 |
+src_prepare() { |
47 |
+ default |
48 |
+ rm src/elf.h || die |
49 |
+ |
50 |
+ sed -i \ |
51 |
+ -e 's:-Werror::g' \ |
52 |
+ configure.ac || die |
53 |
+ |
54 |
+ eautoreconf |
55 |
+} |
56 |
+ |
57 |
+src_test() { |
58 |
+ emake check \ |
59 |
+ CFLAGS+=" -no-pie" \ |
60 |
+ CXXFLAGS+=" -no-pie" |
61 |
+} |