From owner-svn-ports-all@freebsd.org Sun Apr 1 15:38:50 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 E0687F58B1A; Sun, 1 Apr 2018 15:38:49 +0000 (UTC) (envelope-from riggs@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 77FF271758; Sun, 1 Apr 2018 15:38:49 +0000 (UTC) (envelope-from riggs@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 4C535BEA; Sun, 1 Apr 2018 15:38:49 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w31Fcmnt002768; Sun, 1 Apr 2018 15:38:48 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w31FcmT1002766; Sun, 1 Apr 2018 15:38:48 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201804011538.w31FcmT1002766@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Sun, 1 Apr 2018 15:38:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r466168 - in branches/2018Q2/cad/calculix: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: riggs X-SVN-Commit-Paths: in branches/2018Q2/cad/calculix: . files X-SVN-Commit-Revision: 466168 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: Sun, 01 Apr 2018 15:38:50 -0000 Author: riggs Date: Sun Apr 1 15:38:48 2018 New Revision: 466168 URL: https://svnweb.freebsd.org/changeset/ports/466168 Log: MFH: r466167 Fix build with clang 6.x, pet portlint PR: 227148 Submitted by: pfg (maintainer) Approved by: ports-secteam (riggs) Added: branches/2018Q2/cad/calculix/files/patch-cgx__VER_src_uselibSNL.cpp - copied unchanged from r466167, head/cad/calculix/files/patch-cgx__VER_src_uselibSNL.cpp Modified: branches/2018Q2/cad/calculix/Makefile Directory Properties: branches/2018Q2/ (props changed) Modified: branches/2018Q2/cad/calculix/Makefile ============================================================================== --- branches/2018Q2/cad/calculix/Makefile Sun Apr 1 15:36:23 2018 (r466167) +++ branches/2018Q2/cad/calculix/Makefile Sun Apr 1 15:38:48 2018 (r466168) @@ -15,9 +15,9 @@ COMMENT= Three-Dimensional Structural Finite Element P LICENSE= GPLv2 -RUN_DEPENDS= ccx:cad/calculix-ccx - BROKEN_FreeBSD_10= Does not build with clang on FreeBSD 10, causes segfaults when built with gcc + +RUN_DEPENDS= ccx:cad/calculix-ccx DIST_SOURCES= cgx_${PORTVERSION}.all${EXTRACT_SUFX} DIST_HTM= cgx_${PORTVERSION}.htm${EXTRACT_SUFX} Copied: branches/2018Q2/cad/calculix/files/patch-cgx__VER_src_uselibSNL.cpp (from r466167, head/cad/calculix/files/patch-cgx__VER_src_uselibSNL.cpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q2/cad/calculix/files/patch-cgx__VER_src_uselibSNL.cpp Sun Apr 1 15:38:48 2018 (r466168, copy of r466167, head/cad/calculix/files/patch-cgx__VER_src_uselibSNL.cpp) @@ -0,0 +1,20 @@ +--- cgx_2.13/src/uselibSNL.cpp.orig 2017-10-07 09:58:00 UTC ++++ cgx_2.13/src/uselibSNL.cpp +@@ -934,7 +934,7 @@ int createBlendedNurbs(int nr, Points ** + // (5) create the cgx nurbs + // printf(" create blended nurbs\n"); + buffer[0]='S'; +- buffer[1]=(char)NULL; ++ buffer[1]='\0'; + getNewName( name, buffer ); + for (i=0; inurs+1, name); +@@ -1012,7 +1012,7 @@ int createBlendedNurbs(int nr, Points ** + for (j=0; jcontrolPoints()[ index ].x(), surface->controlPoints()[ index ].y(), surface->controlPoints()[ index ].z(), 0); + point=*pntpntr; /* update pointer */