QCAD - 2D CAD System.

Click here for a documentation of the DokuWiki formatting syntax that can be used in reports

Please search for existing tasks (also closed ones) before opening a new task.

Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help - Check for Updates)


FS#876 - libexecinfo is needed on FreeBSD

Attached to Project: QCAD
Opened by Tamas TEVESZ (kazmer) - Friday, 09 August 2013, 21:37 GMT+2
Last edited by Andrew (andrew) - Saturday, 10 August 2013, 00:04 GMT+2
Task Type Bug Report
Category QCAD (main)
Status Closed
Assigned To Andrew (andrew)
Operating System Linux (All / Other)
Severity Low
Priority Normal
Reported Version 3.2.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


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.

This task depends upon

Closed by  Andrew (andrew)
Saturday, 10 August 2013, 00:04 GMT+2
Reason for closing:  Fixed
Additional comments about closing:  https://github.com/qcad/qcad/commit/7386 0cc6edcca2aceba67e616acb42149fb266bc
Comment by Andrew (andrew) - Saturday, 10 August 2013, 00:04 GMT+2

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: