From owner-svn-ports-head@freebsd.org Tue Jul 18 19:21:12 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3015D9E238; Tue, 18 Jul 2017 19:21:12 +0000 (UTC) (envelope-from thierry@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 mx1.freebsd.org (Postfix) with ESMTPS id 8EF0780C6F; Tue, 18 Jul 2017 19:21:12 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v6IJLBh3006967; Tue, 18 Jul 2017 19:21:11 GMT (envelope-from thierry@FreeBSD.org) Received: (from thierry@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v6IJLBMd006963; Tue, 18 Jul 2017 19:21:11 GMT (envelope-from thierry@FreeBSD.org) Message-Id: <201707181921.v6IJLBMd006963@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: thierry set sender to thierry@FreeBSD.org using -f From: Thierry Thomas Date: Tue, 18 Jul 2017 19:21:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r446173 - in head/cad/opencascade: . files X-SVN-Group: ports-head X-SVN-Commit-Author: thierry X-SVN-Commit-Paths: in head/cad/opencascade: . files X-SVN-Commit-Revision: 446173 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2017 19:21:12 -0000 Author: thierry Date: Tue Jul 18 19:21:11 2017 New Revision: 446173 URL: https://svnweb.freebsd.org/changeset/ports/446173 Log: Fix on i386 (no impact where on other archs). Reported by: pointyhat Added: head/cad/opencascade/files/patch-inc_Standard__Time.hxx (contents, props changed) head/cad/opencascade/files/patch-src_Standard_Standard__Time.hxx (contents, props changed) Modified: head/cad/opencascade/Makefile head/cad/opencascade/pkg-plist Modified: head/cad/opencascade/Makefile ============================================================================== --- head/cad/opencascade/Makefile Tue Jul 18 18:52:55 2017 (r446172) +++ head/cad/opencascade/Makefile Tue Jul 18 19:21:11 2017 (r446173) @@ -77,6 +77,12 @@ DOXYGEN_RUN_DEPENDS= ${LOCALBASE}/www/MathJax/MathJax. .include +.if ${ARCH} == "i386" +BITS= 32 +.else +BITS= 64 +.endif + pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "Warning: to build OpenCascade, you should have at least" Added: head/cad/opencascade/files/patch-inc_Standard__Time.hxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/opencascade/files/patch-inc_Standard__Time.hxx Tue Jul 18 19:21:11 2017 (r446173) @@ -0,0 +1,19 @@ +--- inc/Standard_Time.hxx.orig 2016-11-25 09:52:28 UTC ++++ inc/Standard_Time.hxx +@@ -26,11 +26,11 @@ + // ------------------------------------------------------------------ + // IsEqual : Returns Standard_True if two time values are equal + // ------------------------------------------------------------------ +-inline Standard_Boolean IsEqual (const Standard_Time theOne, +- const Standard_Time theTwo) +-{ +- return theOne == theTwo; +-} ++//inline Standard_Boolean IsEqual (const Standard_Time theOne, ++// const Standard_Time theTwo) ++//{ ++// return theOne == theTwo; ++//} + + #endif + Added: head/cad/opencascade/files/patch-src_Standard_Standard__Time.hxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/opencascade/files/patch-src_Standard_Standard__Time.hxx Tue Jul 18 19:21:11 2017 (r446173) @@ -0,0 +1,19 @@ +--- src/Standard/Standard_Time.hxx.orig 2016-11-25 09:52:28 UTC ++++ src/Standard/Standard_Time.hxx +@@ -26,11 +26,11 @@ + // ------------------------------------------------------------------ + // IsEqual : Returns Standard_True if two time values are equal + // ------------------------------------------------------------------ +-inline Standard_Boolean IsEqual (const Standard_Time theOne, +- const Standard_Time theTwo) +-{ +- return theOne == theTwo; +-} ++//inline Standard_Boolean IsEqual (const Standard_Time theOne, ++// const Standard_Time theTwo) ++//{ ++// return theOne == theTwo; ++//} + + #endif + Modified: head/cad/opencascade/pkg-plist ============================================================================== --- head/cad/opencascade/pkg-plist Tue Jul 18 18:52:55 2017 (r446172) +++ head/cad/opencascade/pkg-plist Tue Jul 18 19:21:11 2017 (r446173) @@ -1,6 +1,6 @@ %%OCCROOT%%/bin/DRAWEXE %%OCCROOT%%/bin/custom.sh -%%OCCROOT%%/bin/custom_%%CC%%_64.sh +%%OCCROOT%%/bin/custom_%%CC%%_%%BITS%%.sh %%OCCROOT%%/bin/draw.sh %%OCCROOT%%/bin/env.sh %%OCCROOT%%/data/iges/bearing.iges