From owner-svn-ports-all@freebsd.org Tue Mar 27 19:46:03 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 70D54F53571; Tue, 27 Mar 2018 19:46:03 +0000 (UTC) (envelope-from olgeni@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 238FC7CA5A; Tue, 27 Mar 2018 19:46:03 +0000 (UTC) (envelope-from olgeni@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 1E56F20956; Tue, 27 Mar 2018 19:46:03 +0000 (UTC) (envelope-from olgeni@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2RJk3fw033222; Tue, 27 Mar 2018 19:46:03 GMT (envelope-from olgeni@FreeBSD.org) Received: (from olgeni@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2RJk2Pn033219; Tue, 27 Mar 2018 19:46:02 GMT (envelope-from olgeni@FreeBSD.org) Message-Id: <201803271946.w2RJk2Pn033219@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: olgeni set sender to olgeni@FreeBSD.org using -f From: Jimmy Olgeni Date: Tue, 27 Mar 2018 19:46:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465746 - in head/lang/ccl: . files X-SVN-Group: ports-head X-SVN-Commit-Author: olgeni X-SVN-Commit-Paths: in head/lang/ccl: . files X-SVN-Commit-Revision: 465746 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: Tue, 27 Mar 2018 19:46:03 -0000 Author: olgeni Date: Tue Mar 27 19:46:02 2018 New Revision: 465746 URL: https://svnweb.freebsd.org/changeset/ports/465746 Log: In lang/ccl: - Explicitly include for accessing T_PAGEFLT. - Use 'mc_flags' in mcontext_t to check for valid AVX state, rather than 'mc_trapno'. PR: 226809 Submitted by: jhb Added: head/lang/ccl/files/patch-lisp-kernel_platform-freebsdx8632.h (contents, props changed) head/lang/ccl/files/patch-lisp-kernel_platform-freebsdx8664.h (contents, props changed) Modified: head/lang/ccl/Makefile Modified: head/lang/ccl/Makefile ============================================================================== --- head/lang/ccl/Makefile Tue Mar 27 19:30:24 2018 (r465745) +++ head/lang/ccl/Makefile Tue Mar 27 19:46:02 2018 (r465746) @@ -2,6 +2,7 @@ PORTNAME= ccl PORTVERSION= 1.11 +PORTREVISION= 1 CATEGORIES= lang lisp MASTER_SITES= ftp://ftp.clozure.com/pub/release/${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-freebsdx86 Added: head/lang/ccl/files/patch-lisp-kernel_platform-freebsdx8632.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/ccl/files/patch-lisp-kernel_platform-freebsdx8632.h Tue Mar 27 19:46:02 2018 (r465746) @@ -0,0 +1,19 @@ +--- lisp-kernel/platform-freebsdx8632.h.orig 2018-03-20 12:24:58.894882000 -0700 ++++ lisp-kernel/platform-freebsdx8632.h 2018-03-20 12:26:51.327100000 -0700 +@@ -42,6 +42,7 @@ typedef struct __ucontext ExceptionInfor + + #include + #include ++#include + #define xpGPRvector(x) ((natural *)(&((x)->uc_mcontext))) + #define xpGPR(x,gprno) (xpGPRvector(x)[gprno]) + #define set_xpGPR(x,gpr,new) xpGPR((x),(gpr)) = (natural)(new) +@@ -56,7 +57,7 @@ extern void freebsd_sigreturn(ExceptionI + #define IS_PAGE_FAULT(info,xp) (xp->uc_mcontext.mc_trapno == T_PAGEFLT) + #define SIGRETURN(context) freebsd_sigreturn(context) + +-#define AVX_CONTEXT_PRESENT(xp) ((xp)->uc_mcontext.mc_trapno & 4) ++#define AVX_CONTEXT_PRESENT(xp) ((xp)->uc_mcontext.mc_flags & 4) + #define AVX_CONTEXT_PTR(xp) (((xp)->uc_mcontext.mc_fpstate[130])) + #define AVX_CONTEXT_SIZE(xp) ((natural)((xp)->uc_mcontext.mc_fpstate[131])) + Added: head/lang/ccl/files/patch-lisp-kernel_platform-freebsdx8664.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/ccl/files/patch-lisp-kernel_platform-freebsdx8664.h Tue Mar 27 19:46:02 2018 (r465746) @@ -0,0 +1,19 @@ +--- lisp-kernel/platform-freebsdx8664.h.orig 2018-03-20 12:25:05.151015000 -0700 ++++ lisp-kernel/platform-freebsdx8664.h 2018-03-20 12:26:36.751044000 -0700 +@@ -47,6 +47,7 @@ typedef struct __ucontext ExceptionInfor + #define REG_RSP 23 + + #include ++#include + #define xpGPRvector(x) ((natural *)(&((x)->uc_mcontext))) + #define xpGPR(x,gprno) (xpGPRvector(x)[gprno]) + #define set_xpGPR(x,gpr,new) xpGPR((x),(gpr)) = (natural)(new) +@@ -67,7 +68,7 @@ extern void freebsd_sigreturn(ExceptionI + fbsd 9.1 headers; if we built on an older OS version, we still need + to know about this if we run on 9.1+ */ + +-#define AVX_CONTEXT_PRESENT(xp) ((xp)->uc_mcontext.mc_trapno & 4) ++#define AVX_CONTEXT_PRESENT(xp) ((xp)->uc_mcontext.mc_flags & 4) + #define AVX_CONTEXT_PTR(xp) (((xp)->uc_mcontext.mc_fpstate[66])) + #define AVX_CONTEXT_SIZE(xp) ((natural)((xp)->uc_mcontext.mc_fpstate[67])) +