FS#876libexecinfo is needed on FreeBSD
- Type
- Bug
- Status
- Closed
- Resolution
- Fixed
- Category
- QCAD (main)
- Severity
- Low
- Priority
- Low
- Reported version
- 3.2.0
- Operating system
- Linux (All / Other)
- Reported
- 2013-08-09 by kazmer
- Closed
- 2013-08-09 by andrew
backtrace() and backtrace_symbols() need devel/libexecinfo on FreeBSD. The attached patch solves this, making QCAD fully buildable on FreeBSD (9).
Please note that I am by no means a qmake expert, this is likely to be a sub-standard way of attacking the problem at hand. Tweak as needed.
Comments (1)
Thanks. Those function calls are only needed to create backtraces at run time.
I've simply disabled the appropriate section in the code if compiled on FreeBSD which seems to be less of an inconvenience than adding a dependency:
https://github.com/qcad/qcad/commit/73860cc6edcca2aceba67e616acb42149fb266bc