Bug 258429 - games/openmw fix for 0.47.0 not building due to new bullet double-precision dependency
Summary: games/openmw fix for 0.47.0 not building due to new bullet double-precision d...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dima Panov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-11 11:07 UTC by Wladislav Artsimovich
Modified: 2021-09-11 13:43 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (fluffy)


Attachments
git diff for building bullet and linking it statically (475 bytes, patch)
2021-09-11 11:07 UTC, Wladislav Artsimovich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wladislav Artsimovich 2021-09-11 11:07:00 UTC
Created attachment 227831 [details]
git diff for building bullet and linking it statically

OpenMW moved to bullet double-precision with the Versions 0.47.0 and later. Since bullet is being built with it's default single-precision on FreeBSD, this would require a change to how bullet is being built. To prevent such dependency changes, it is possible to set OPENMW_USE_SYSTEM_BULLET=OFF in cmake and openmw will build and statically link bullet itself, saving us from having to make changes to devel/bullet. I believe this also removes the dependency on devel/bullet completely.

This patch adds this switch to the Makefile. Though it should only be included, once this port actually moves to 0.47 itself, otherwise it doesn't make sense.

I am interested in 0.47 for it's new legacy shader options in the hopes it will help track down GPU HANGS caused by Mesa's new crocus driver: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5134
Comment 1 Dima Panov freebsd_committer 2021-09-11 13:43:45 UTC
Moin! 

I already keep hand on pulse and sent mail to bullet maintainer to enable double-precision by default too. :) Thanks for report, it will be counted in 0.47 release update