From owner-svn-ports-head@freebsd.org Thu Jun 13 14:51:45 2019 Return-Path: Delivered-To: svn-ports-head@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 BF7C715B3D84; Thu, 13 Jun 2019 14:51:45 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 638B386F74; Thu, 13 Jun 2019 14:51:45 +0000 (UTC) (envelope-from bapt@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 55FFD1D1E; Thu, 13 Jun 2019 14:51:45 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5DEpjDh037996; Thu, 13 Jun 2019 14:51:45 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5DEpjv5037995; Thu, 13 Jun 2019 14:51:45 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201906131451.x5DEpjv5037995@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Thu, 13 Jun 2019 14:51:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r504095 - head/cad/calculix/files X-SVN-Group: ports-head X-SVN-Commit-Author: bapt X-SVN-Commit-Paths: head/cad/calculix/files X-SVN-Commit-Revision: 504095 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 638B386F74 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.97)[-0.967,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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: Thu, 13 Jun 2019 14:51:45 -0000 Author: bapt Date: Thu Jun 13 14:51:44 2019 New Revision: 504095 URL: https://svnweb.freebsd.org/changeset/ports/504095 Log: Incorporate a patch to stop using sys/dir.h which is deprecated in POSIX since 1997 PR: 21519 Submitted by: ota@j.email.ne.jp Differential Revision: https://reviews.freebsd.org/D20621 Added: head/cad/calculix/files/patch-dir.h (contents, props changed) Added: head/cad/calculix/files/patch-dir.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/calculix/files/patch-dir.h Thu Jun 13 14:51:44 2019 (r504095) @@ -0,0 +1,40 @@ +--- cgx_2.15/src/readFoam.c.orig 2018-12-15 10:23:59.490288980 -0500 ++++ cgx_2.15/src/readFoam.c 2019-06-11 17:49:23.469502000 -0400 +@@ -4,7 +4,7 @@ + + + #include +-#include ++#include + + #define kappa 1.4 + +@@ -289,7 +289,7 @@ + int eface[8], sum_dir, ncomps; + FILE *handle; + DIR *dirp; +- struct direct *dp; ++ struct dirent *dp; + Rsort *rsort=NULL; + Ds ds; + +--- cgx_2.15/src/setFunktions.c.orig 2019-06-11 17:50:19.651248000 -0400 ++++ cgx_2.15/src/setFunktions.c 2019-06-11 17:50:41.211341000 -0400 +@@ -30,7 +30,7 @@ + */ + + #include +-#include ++#include + #include + + +@@ -11859,7 +11859,7 @@ + int pics; + int pnts[3]; + DIR *dirp; +- struct direct *dp; ++ struct dirent *dp; + static int ifFlag=1, whileFlag=1, returnFlag=1; + Scale scaleSet[1]; +