summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-01-03 08:47:46 -0500
committerAnthony G. Basile <blueness@gentoo.org>2016-01-03 08:52:26 -0500
commit66eb9bfe0b15c88e249bd0149369547675b2e44c (patch)
tree0552d2759dcc0fc5d82e18b72acf2800c0cc857e /net-p2p/litecoin-qt
parentdev-java/colt: Fix DESCRIPTION length. (diff)
downloadgentoo-66eb9bfe0b15c88e249bd0149369547675b2e44c.tar.gz
gentoo-66eb9bfe0b15c88e249bd0149369547675b2e44c.tar.bz2
gentoo-66eb9bfe0b15c88e249bd0149369547675b2e44c.zip
net-p2p/litecoin-qt: fix RWX GNU stack
Package-Manager: portage-2.2.24
Diffstat (limited to 'net-p2p/litecoin-qt')
-rw-r--r--net-p2p/litecoin-qt/files/litecoind-0.10.2.2-fix-gnustack.patch17
-rw-r--r--net-p2p/litecoin-qt/litecoin-qt-0.10.2.2-r3.ebuild (renamed from net-p2p/litecoin-qt/litecoin-qt-0.10.2.2-r2.ebuild)3
2 files changed, 19 insertions, 1 deletions
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
new file mode 100644
index 000000000000..cbaf66ea93e1
--- /dev/null
+++ b/net-p2p/litecoin-qt/files/litecoind-0.10.2.2-fix-gnustack.patch
@@ -0,0 +1,17 @@
+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
+--- litecoin-0.10.2.2.orig/src/secp256k1/src/field_5x52_asm.asm 2015-06-15 04:51:30.000000000 -0400
++++ litecoin-0.10.2.2/src/secp256k1/src/field_5x52_asm.asm 2016-01-03 08:35:26.438350565 -0500
+@@ -466,4 +466,12 @@
+ jmp common_exit_norm
+ end
+
+-
++%ifidn __OUTPUT_FORMAT__,elf
++section .note.GNU-stack noalloc noexec nowrite progbits
++%endif
++%ifidn __OUTPUT_FORMAT__,elf32
++section .note.GNU-stack noalloc noexec nowrite progbits
++%endif
++%ifidn __OUTPUT_FORMAT__,elf64
++section .note.GNU-stack noalloc noexec nowrite progbits
++%endif
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
index 49c5cacd64bf..7c5c59f356f7 100644
--- 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
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -60,6 +60,7 @@ src_prepare() {
epatch "${FILESDIR}"/0.9.0-sys_leveldb.patch
epatch "${FILESDIR}"/litecoind-0.10.2.2-memenv_h.patch
epatch "${FILESDIR}"/litecoin-miniupnpc-abi.patch
+ epatch "${FILESDIR}"/litecoind-0.10.2.2-fix-gnustack.patch
eautoreconf
rm -r src/leveldb