Created attachment 218086 [details]
Patch to update the port to 2.17.1.
Apart from new colormaps, this 2.17.1 contains a fix for a pretty serious bug. In 2.17, when exporting a surface ("send XXX abq sur"), the *SURFACE keyword is missing from the generated XXX.sur file. Since surfaces are necessary for applying distributed loads, this cripples cgx for problems with distributed loads.
I have run the usual tests from the porters handbook and found no issues.
Portlint only gives a couple of warnings:
WARN: Makefile: use of DISTFILES with single file discouraged. distribution filename should be set by DISTNAME and EXTRACT_SUFX.
WARN: Makefile: DISTFILES/DISTNAME affects WRKSRC. take caution when changing them.
0 fatal errors and 2 warnings found.
I am currently very busy with someone from my family in the hospital, so it may take a while for me to get this. If some other committers wants to go ahead, I approve.
Patch is insufficient. Still have to modify the path for other patches:
===> License GPLv2 accepted by the user
===> calculix-2.17.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by calculix-2.17.1 for building
===> Extracting for calculix-2.17.1
=> SHA256 Checksum OK for calculix/cgx_2.17.1.all.tar.bz2.
=> SHA256 Checksum OK for calculix/cgx_2.17.1.exa.tar.bz2.
=> SHA256 Checksum OK for calculix/cgx_2.17.1.htm.tar.bz2.
=> SHA256 Checksum OK for calculix/cgx_2.17.1.pdf.
===> Patching for calculix-2.17.1
===> Applying FreeBSD patches for calculix-2.17.1 from /usr/ports/cad/calculix/files
File to patch: ^C===> FAILED Applying FreeBSD patch-cgx__VER_src_Makefile
===> FAILED to apply cleanly FreeBSD patch(es) patch-cgx__VER_src_Makefile
*** Error code 1
*** Signal 2
A commit references this bug:
Date: Tue Sep 22 17:32:09 UTC 2020
New revision: 549614
cad/calculix : update to version 2.17.1
Approved by: thierry (mentor, implicit)