Bug 222915 - [Maintainer-update] cad/calculix: Update to version 2.13
Summary: [Maintainer-update] cad/calculix: Update to version 2.13
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Thomas Zander
Keywords: patch
Depends on:
Reported: 2017-10-10 20:58 UTC by Pedro F. Giffuni
Modified: 2017-10-30 17:20 UTC (History)
2 users (show)

See Also:

Update diff (10.29 KB, patch)
2017-10-10 20:58 UTC, Pedro F. Giffuni
no flags Details | Diff
Updated patch (10.01 KB, patch)
2017-10-29 17:33 UTC, Thomas Zander
riggs: maintainer-approval-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro F. Giffuni freebsd_committer 2017-10-10 20:58:22 UTC
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.
Comment 1 Thomas Zander freebsd_committer 2017-10-29 17:33:09 UTC
Created attachment 187563 [details]
Updated patch

This fixes the build on 10.4 by requesting the same compiler as calculix-ccx
Comment 2 Pedro F. Giffuni freebsd_committer 2017-10-29 18:07:20 UTC
(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 3 Thomas Zander freebsd_committer 2017-10-30 17:07:24 UTC
Comment on attachment 187563 [details]
Updated patch

Causes segfaults when built with gcc.
Comment 4 commit-hook freebsd_committer 2017-10-30 17:19:42 UTC
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

  Update to upstream version 2.13

  Detailed log:
  - New features, see
  - 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)