summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-01-03 08:51:11 -0500
committerAnthony G. Basile <blueness@gentoo.org>2016-01-03 08:52:28 -0500
commitb77845e33211c442dc34713a386fdd40e657b7bb (patch)
tree5fe1a2b1541503c3c99c447f3fc203266a6753fb /net-p2p/litecoind/files
parentnet-p2p/litecoin-qt: fix RWX GNU stack (diff)
downloadgentoo-b77845e33211c442dc34713a386fdd40e657b7bb.tar.gz
gentoo-b77845e33211c442dc34713a386fdd40e657b7bb.tar.bz2
gentoo-b77845e33211c442dc34713a386fdd40e657b7bb.zip
net-p2p/litecoind: fix RWX GNU stack
Package-Manager: portage-2.2.24
Diffstat (limited to 'net-p2p/litecoind/files')
-rw-r--r--net-p2p/litecoind/files/litecoind-0.10.2.2-fix-gnustack.patch17
1 files changed, 17 insertions, 0 deletions
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
new file mode 100644
index 00000000000..cbaf66ea93e
--- /dev/null
+++ b/net-p2p/litecoind/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