Bug 277307 - science/elmerfem: patch needed to support opencascade-7.8.0
Summary: science/elmerfem: patch needed to support opencascade-7.8.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks: 277294
  Show dependency treegraph
 
Reported: 2024-02-25 17:19 UTC by Thierry Thomas
Modified: 2024-03-21 18:12 UTC (History)
1 user (show)

See Also:
henrik: maintainer-feedback+


Attachments
science_elmerfem_9.0_15.diff (1.72 KB, patch)
2024-02-26 09:53 UTC, Henrik Gulbrandsen
henrik: maintainer-approval+
Details | Diff
Adding support of OpenCascade 7.8.0 (2.79 KB, patch)
2024-03-16 17:26 UTC, Thierry Thomas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas freebsd_committer freebsd_triage 2024-02-25 17:19:28 UTC
If built against opencascade-7.8.0, elmerfem-9.0_14 fails with the following errors:

ld: error: unable to find library -lTKSTEP
ld: error: unable to find library -lTKIGES
ld: error: unable to find library -lTKSTEP209
ld: error: unable to find library -lTKSTEPAttr
ld: error: unable to find library -lTKSTEPBase
ld: error: unable to find library -lTKSTEP
ld: error: unable to find library -lTKIGES
ld: error: unable to find library -lTKSTEP209
ld: error: unable to find library -lTKSTEPAttr
ld: error: unable to find library -lTKSTEPBase
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Comment 1 Henrik Gulbrandsen 2024-02-26 09:53:33 UTC
Created attachment 248754 [details]
science_elmerfem_9.0_15.diff

The attached patch seems to do the trick.
Comment 2 Thierry Thomas freebsd_committer freebsd_triage 2024-02-26 17:29:52 UTC
Thanks Henrik!
Comment 3 Thierry Thomas freebsd_committer freebsd_triage 2024-03-16 17:26:47 UTC
Created attachment 249221 [details]
Adding support of OpenCascade 7.8.0

Remark: I had to move post-patch-OCC-on to pre-configure-OCC-on, in order to make opencascade available when `pkg query' is run.
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-03-21 18:03:03 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d0646a9501a862ba21e8f9c1e919d94580036379

commit d0646a9501a862ba21e8f9c1e919d94580036379
Author:     Henrik Gulbrandsen <henrik@gulbra.net>
AuthorDate: 2024-03-16 13:02:09 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2024-03-21 18:01:17 +0000

    science/elmerfem: support opencascade-7.8.0

    PR:             277307

 science/elmerfem/Makefile                                 |  8 ++++----
 .../elmerfem/files/patch-ElmerGUI_CMakeLists.txt (new)    | 15 +++++++++++++++
 2 files changed, 19 insertions(+), 4 deletions(-)
Comment 5 Thierry Thomas freebsd_committer freebsd_triage 2024-03-21 18:12:19 UTC
Committed, thanks!