summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/litecoin-qt/files/litecoind-0.10.2.2-fix-gnustack.patch')
-rw-r--r--net-p2p/litecoin-qt/files/litecoind-0.10.2.2-fix-gnustack.patch17
1 files changed, 17 insertions, 0 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