summaryrefslogtreecommitdiff
path: root/security/beecrypt/patches/patch-acinclude.m4
diff options
context:
space:
mode:
Diffstat (limited to 'security/beecrypt/patches/patch-acinclude.m4')
-rw-r--r--security/beecrypt/patches/patch-acinclude.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/security/beecrypt/patches/patch-acinclude.m4 b/security/beecrypt/patches/patch-acinclude.m4
new file mode 100644
index 00000000000..32a2935c91a
--- /dev/null
+++ b/security/beecrypt/patches/patch-acinclude.m4
@@ -0,0 +1,17 @@
+$NetBSD: patch-acinclude.m4,v 1.1 2015/04/14 14:23:14 joerg Exp $
+
+--- acinclude.m4.orig 2015-04-10 14:47:05.000000000 +0000
++++ acinclude.m4
+@@ -904,7 +904,11 @@ EOF
+ AC_LANG_PUSH(C)
+ AC_TRY_COMPILE([],[{}],[
+ bc_cv_as_noexecstack=yes
+- bc_gnu_stack='.section .note.GNU-stack,"",@progbits; .previous'
++ if [ $bc_target_arch = arm ]; then
++ bc_gnu_stack='.section .note.GNU-stack,"",%progbits; .previous'
++ else
++ bc_gnu_stack='.section .note.GNU-stack,"",@progbits; .previous'
++ fi
+ ],[
+ CFLAGS=$CFLAGS_save
+ CXXFLAGS=$CXXFLAGS_save