Created attachment 187060 [details] Update diff Update to the latest version: From http://www.dhondt.de/new_calc.htm : CalculiX GraphiX WARNING: The command "prnt se " writes now 13 leading values to the stack. Shaded representation of results can be switched on by command or menu. The user can add his own functions and scripts to the menu. A file (.cgx) with initialization commands will be read at startup from the home directory. Useful to add functions to the menu. The front face culling works now for the entities drawn by plot and plus. Changed or extended commands: elem: Automatic number generation by using '!' frame: A setname can be provided as a size target. node: Automatic number generation by using '!' plot: The pixel width of some entites can be specified. plus: The pixel width of some entities can be specified. prnt: In combination with "stack on" writes the number of entities of a set to the stack. Existing scripts need a "valu x pop 13" after "prnt se ". prnt: Lists failed elements regarding quality (eq). text: This command was renamed to 'ulin' (underline) valu: User input can be requested by '?'. view: The pixel width can be specified when using the parameter 'point' New commands: maxr: 'max' with one more color box above the specified value. minr: 'min' with one more color box below the specified value. menu: The user can add his own functions and scripts to the menu. ulin: Replaces the command 'text'. thrs: Displays regions which values of the actual dataset are above (h) or below (l) the given value. txt: Creates node-attached texts (as qtxt). wsize: The size of the window can be set. wpos: The position of the window can be set. ____ Also drop the prefix and use the canonical pkgname.
Created attachment 187563 [details] Updated patch This fixes the build on 10.4 by requesting the same compiler as calculix-ccx
(In reply to Thomas Zander from comment #1) Bad idea: ccx uses Fortran so this would force using GCC. ccx doesn't share libraries with calculix cgx: we split ccx out of calculix precisely because GCC causes segmentation faults (issues with different C++ base libraries). Let's just label the port broken on 10.x and keep building it with clang on 11 and upper.
Comment on attachment 187563 [details] Updated patch Causes segfaults when built with gcc.
A commit references this bug: Author: riggs Date: Mon Oct 30 17:19:09 UTC 2017 New revision: 453200 URL: https://svnweb.freebsd.org/changeset/ports/453200 Log: Update to upstream version 2.13 Detailed log: - New features, see http://www.dhondt.de/new_calc.htm https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222915 - Mark BROKEN on FreeBSD 10 for now: Does not build when built with clang, and causes runtime segfaults when built with gcc PR: 222915 Submitted by: pfg (maintainer) Changes: head/cad/calculix/Makefile head/cad/calculix/distinfo head/cad/calculix/files/patch-cgx__VER_src_Makefile head/cad/calculix/files/patch-cgx__VER_src_cgx.h head/cad/calculix/files/patch-cgx__VER_src_extUtil.h head/cad/calculix/files/patch-cgx__VER_src_userFunction.c head/cad/calculix/pkg-plist