1 |
commit: b77845e33211c442dc34713a386fdd40e657b7bb |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 3 13:51:11 2016 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 3 13:52:28 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b77845e3 |
7 |
|
8 |
net-p2p/litecoind: fix RWX GNU stack |
9 |
|
10 |
Package-Manager: portage-2.2.24 |
11 |
|
12 |
.../files/litecoind-0.10.2.2-fix-gnustack.patch | 17 +++++++++++++++++ |
13 |
...-0.10.2.2-r3.ebuild => litecoind-0.10.2.2-r4.ebuild} | 3 ++- |
14 |
2 files changed, 19 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/net-p2p/litecoind/files/litecoind-0.10.2.2-fix-gnustack.patch b/net-p2p/litecoind/files/litecoind-0.10.2.2-fix-gnustack.patch |
17 |
new file mode 100644 |
18 |
index 0000000..cbaf66e |
19 |
--- /dev/null |
20 |
+++ b/net-p2p/litecoind/files/litecoind-0.10.2.2-fix-gnustack.patch |
21 |
@@ -0,0 +1,17 @@ |
22 |
+diff -Naur litecoin-0.10.2.2.orig/src/secp256k1/src/field_5x52_asm.asm litecoin-0.10.2.2/src/secp256k1/src/field_5x52_asm.asm |
23 |
+--- litecoin-0.10.2.2.orig/src/secp256k1/src/field_5x52_asm.asm 2015-06-15 04:51:30.000000000 -0400 |
24 |
++++ litecoin-0.10.2.2/src/secp256k1/src/field_5x52_asm.asm 2016-01-03 08:35:26.438350565 -0500 |
25 |
+@@ -466,4 +466,12 @@ |
26 |
+ jmp common_exit_norm |
27 |
+ end |
28 |
+ |
29 |
+- |
30 |
++%ifidn __OUTPUT_FORMAT__,elf |
31 |
++section .note.GNU-stack noalloc noexec nowrite progbits |
32 |
++%endif |
33 |
++%ifidn __OUTPUT_FORMAT__,elf32 |
34 |
++section .note.GNU-stack noalloc noexec nowrite progbits |
35 |
++%endif |
36 |
++%ifidn __OUTPUT_FORMAT__,elf64 |
37 |
++section .note.GNU-stack noalloc noexec nowrite progbits |
38 |
++%endif |
39 |
|
40 |
diff --git a/net-p2p/litecoind/litecoind-0.10.2.2-r3.ebuild b/net-p2p/litecoind/litecoind-0.10.2.2-r4.ebuild |
41 |
similarity index 96% |
42 |
rename from net-p2p/litecoind/litecoind-0.10.2.2-r3.ebuild |
43 |
rename to net-p2p/litecoind/litecoind-0.10.2.2-r4.ebuild |
44 |
index c7f7068..9b2dea4 100644 |
45 |
--- a/net-p2p/litecoind/litecoind-0.10.2.2-r3.ebuild |
46 |
+++ b/net-p2p/litecoind/litecoind-0.10.2.2-r4.ebuild |
47 |
@@ -1,4 +1,4 @@ |
48 |
-# Copyright 1999-2015 Gentoo Foundation |
49 |
+# Copyright 1999-2016 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Id$ |
52 |
|
53 |
@@ -46,6 +46,7 @@ src_prepare() { |
54 |
epatch "${FILESDIR}"/0.9.0-sys_leveldb.patch |
55 |
epatch "${FILESDIR}"/litecoind-0.10.2.2-memenv_h.patch |
56 |
epatch "${FILESDIR}"/litecoin-miniupnpc-abi.patch |
57 |
+ epatch "${FILESDIR}"/litecoind-0.10.2.2-fix-gnustack.patch |
58 |
eautoreconf |
59 |
rm -r src/leveldb |
60 |
} |