From owner-svn-ports-all@freebsd.org Thu Mar 8 03:55:18 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8123F2D098; Thu, 8 Mar 2018 03:55:17 +0000 (UTC) (envelope-from stephen@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A9E91822C4; Thu, 8 Mar 2018 03:55:17 +0000 (UTC) (envelope-from stephen@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1E0FF395E; Thu, 8 Mar 2018 03:55:17 +0000 (UTC) (envelope-from stephen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w283tGfs054738; Thu, 8 Mar 2018 03:55:16 GMT (envelope-from stephen@FreeBSD.org) Received: (from stephen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w283tGfd054737; Thu, 8 Mar 2018 03:55:16 GMT (envelope-from stephen@FreeBSD.org) Message-Id: <201803080355.w283tGfd054737@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: stephen set sender to stephen@FreeBSD.org using -f From: Stephen Montgomery-Smith Date: Thu, 8 Mar 2018 03:55:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r463862 - head/math/octave/files X-SVN-Group: ports-head X-SVN-Commit-Author: stephen X-SVN-Commit-Paths: head/math/octave/files X-SVN-Commit-Revision: 463862 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2018 03:55:18 -0000 Author: stephen Date: Thu Mar 8 03:55:16 2018 New Revision: 463862 URL: https://svnweb.freebsd.org/changeset/ports/463862 Log: - Fix build on armv6. PR: ports/223277 Submitted by: mikael.urankar@gmail.com Added: head/math/octave/files/patch-libinterp_corefcn_sysdep.cc (contents, props changed) Added: head/math/octave/files/patch-libinterp_corefcn_sysdep.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/octave/files/patch-libinterp_corefcn_sysdep.cc Thu Mar 8 03:55:16 2018 (r463862) @@ -0,0 +1,31 @@ +--- libinterp/corefcn/sysdep.cc.orig 2018-03-08 03:49:02 UTC ++++ libinterp/corefcn/sysdep.cc +@@ -61,6 +61,10 @@ along with Octave; see the file COPYING. + # include + #endif + ++#if defined (__FreeBSD__) && defined(__arm__) ++#include ++#endif ++ + #include "cmd-edit.h" + #include "file-ops.h" + #include "lo-mappers.h" +@@ -97,6 +101,7 @@ along with Octave; see the file COPYING. + static void + BSD_init (void) + { ++#if (defined (__FreeBSD__) && !defined(__arm__)) + # if defined (HAVE_FLOATINGPOINT_H) + // Disable trapping on common exceptions. + # if ! defined (FP_X_DNML) +@@ -104,6 +109,9 @@ BSD_init (void) + # endif + fpsetmask (~(FP_X_OFL|FP_X_INV|FP_X_DZ|FP_X_DNML|FP_X_UFL|FP_X_IMP)); + # endif ++#else // FreeBSD && arm ++ fedisableexcept(FE_ALL_EXCEPT); ++#endif // FreeBSD && arm + } + #endif +