Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/litecoin-qt/files/, net-p2p/litecoin-qt/
Date: Sun, 03 Jan 2016 13:45:06
Message-Id: 1451829146.66eb9bfe0b15c88e249bd0149369547675b2e44c.blueness@gentoo
1 commit: 66eb9bfe0b15c88e249bd0149369547675b2e44c
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 3 13:47:46 2016 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 3 13:52:26 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66eb9bfe
7
8 net-p2p/litecoin-qt: 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 ....10.2.2-r2.ebuild => litecoin-qt-0.10.2.2-r3.ebuild} | 3 ++-
14 2 files changed, 19 insertions(+), 1 deletion(-)
15
16 diff --git a/net-p2p/litecoin-qt/files/litecoind-0.10.2.2-fix-gnustack.patch b/net-p2p/litecoin-qt/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/litecoin-qt/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/litecoin-qt/litecoin-qt-0.10.2.2-r2.ebuild b/net-p2p/litecoin-qt/litecoin-qt-0.10.2.2-r3.ebuild
41 similarity index 97%
42 rename from net-p2p/litecoin-qt/litecoin-qt-0.10.2.2-r2.ebuild
43 rename to net-p2p/litecoin-qt/litecoin-qt-0.10.2.2-r3.ebuild
44 index 49c5cac..7c5c59f 100644
45 --- a/net-p2p/litecoin-qt/litecoin-qt-0.10.2.2-r2.ebuild
46 +++ b/net-p2p/litecoin-qt/litecoin-qt-0.10.2.2-r3.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 @@ -60,6 +60,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