Date: Mon, 19 Mar 2018 17:33:03 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465024 - head/lang/smlnj/files Message-ID: <201803191733.w2JHX33V023367@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb (src,doc committer) Date: Mon Mar 19 17:33:03 2018 New Revision: 465024 URL: https://svnweb.freebsd.org/changeset/ports/465024 Log: Use current signal code constants for SIGFPE rather than deprecated ones. PR: 226661 Reviewed by: joemann@beefree.free.de (maintainer) Approved by: brooks Added: head/lang/smlnj/files/do-patch-base_runtime_mach-dep_signal-sysdep.h (contents, props changed) Added: head/lang/smlnj/files/do-patch-base_runtime_mach-dep_signal-sysdep.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/smlnj/files/do-patch-base_runtime_mach-dep_signal-sysdep.h Mon Mar 19 17:33:03 2018 (r465024) @@ -0,0 +1,13 @@ +--- base/runtime/mach-dep/signal-sysdep.h.orig 2018-03-16 11:21:38.240870000 -0700 ++++ base/runtime/mach-dep/signal-sysdep.h 2018-03-16 11:22:06.398280000 -0700 +@@ -447,8 +447,8 @@ extern void SetFSR(); + # elif defined(OPSYS_FREEBSD) + /** x86, FreeBSD **/ + # define SIG_FAULT1 SIGFPE +-# define INT_DIVZERO(s, c) (((s) == SIGFPE) && ((c) == FPE_INTDIV_TRAP)) +-# define INT_OVFLW(s, c) (((s) == SIGFPE) && ((c) == FPE_INTOVF_TRAP)) ++# define INT_DIVZERO(s, c) (((s) == SIGFPE) && ((c) == FPE_INTDIV)) ++# define INT_OVFLW(s, c) (((s) == SIGFPE) && ((c) == FPE_INTOVF)) + + # define SIG_GetCode(info, scp) (info) + # define SIG_GetPC(scp) ((scp)->sc_pc)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803191733.w2JHX33V023367>