diff options
Diffstat (limited to 'lang/erlang/patches/patch-ar')
-rw-r--r-- | lang/erlang/patches/patch-ar | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/lang/erlang/patches/patch-ar b/lang/erlang/patches/patch-ar deleted file mode 100644 index e103ab33664..00000000000 --- a/lang/erlang/patches/patch-ar +++ /dev/null @@ -1,34 +0,0 @@ -$NetBSD: patch-ar,v 1.1 2009/12/15 12:09:20 asau Exp $ - ---- erts/configure.orig 2008-06-10 22:03:32.000000000 +0400 -+++ erts/configure 2008-08-20 00:26:13.000000000 +0400 -@@ -10597,7 +10597,7 @@ - - - --if test "x$enable_sctp" == "xyes" ; then -+if test "x$enable_sctp" = "xyes" ; then - echo "$as_me:$LINENO: checking for netinet/sctp.h" >&5 - echo $ECHO_N "checking for netinet/sctp.h... $ECHO_C" >&6 - if test "${ac_cv_header_netinet_sctp_h+set}" = set; then -@@ -19505,7 +19505,7 @@ - * Implement SIGFPE handler based on CPU/OS combination - */ - --#if (defined(__linux__) && (defined(__i386__) || defined(__x86_64__) || defined(__sparc__) || defined(__powerpc__))) || (defined(__DARWIN__) && (defined(__i386__) || defined(__x86_64__) || defined(__ppc__))) || (defined(__FreeBSD__) && (defined(__i386__) || defined(__x86_64__))) || (defined(__OpenBSD__) && defined(__x86_64__)) || (defined(__sun__) && defined(__x86_64__)) -+#if (defined(__linux__) && (defined(__i386__) || defined(__x86_64__) || defined(__sparc__) || defined(__powerpc__))) || (defined(__DARWIN__) && (defined(__i386__) || defined(__x86_64__) || defined(__ppc__))) || (defined(__FreeBSD__) && (defined(__i386__) || defined(__x86_64__))) || ((defined(__OpenBSD__) || defined(__NetBSD__)) && defined(__x86_64__)) || (defined(__sun__) && defined(__x86_64__)) - - #if defined(__linux__) && defined(__i386__) - #if !defined(X86_FXSR_MAGIC) -@@ -19601,6 +19601,11 @@ - struct fxsave64 *fxsave = uc->sc_fpstate; - fxsave->fx_mxcsr = 0x1F80; - fxsave->fx_fsw &= ~0xFF; -+#elif defined(__NetBSD__) && defined(__x86_64__) -+ mcontext_t *mc = &uc->uc_mcontext; -+ struct fxsave64 *fxsave = (struct fxsave64 *)&mc->__fpregs; -+ fxsave->fx_mxcsr = 0x1F80; -+ fxsave->fx_fsw &= ~0xFF; - #elif defined(__sun__) && defined(__x86_64__) - mcontext_t *mc = &uc->uc_mcontext; - struct fpchip_state *fpstate = &mc->fpregs.fp_reg_set.fpchip_state; |