summaryrefslogtreecommitdiff
path: root/lang/ocaml/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-11-21 14:15:20 +0000
committerjoerg <joerg@pkgsrc.org>2014-11-21 14:15:20 +0000
commitd6f287ab6938d204c37e6c828596ccaca30194a9 (patch)
tree726e198ab653c093992613502697261f5095e4db /lang/ocaml/patches
parent7ce304d005b3015c694705a83699a3f57a4b5f29 (diff)
downloadpkgsrc-d6f287ab6938d204c37e6c828596ccaca30194a9.tar.gz
ARM assembler glue needs either Thumb or ARMv6 with emulation for one
Thumb instruction. Go with FreeBSD and use the latter.
Diffstat (limited to 'lang/ocaml/patches')
-rw-r--r--lang/ocaml/patches/patch-asmrun_arm.S13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/ocaml/patches/patch-asmrun_arm.S b/lang/ocaml/patches/patch-asmrun_arm.S
new file mode 100644
index 00000000000..7f659da2198
--- /dev/null
+++ b/lang/ocaml/patches/patch-asmrun_arm.S
@@ -0,0 +1,13 @@
+$NetBSD: patch-asmrun_arm.S,v 1.1 2014/11/21 14:15:20 joerg Exp $
+
+--- asmrun/arm.S.orig 2014-11-20 13:12:25.000000000 +0000
++++ asmrun/arm.S
+@@ -44,7 +44,7 @@
+ cmp \reg, #0
+ beq \lbl
+ .endm
+-#elif defined(SYS_freebsd)
++#elif defined(SYS_freebsd) || defined(SYS_netbsd)
+ .arch armv6
+ .arm
+