[pkg-lxqt-devel] Bug#798053: Bug#824079: qgis: FTBFS on non-Linux: 'TCGETS' was not declared in this scope
Aaron M. Ucko
ucko at debian.org
Thu May 12 20:58:59 UTC 2016
Sebastiaan Couwenberg <sebastic at xs4all.nl> writes:
> Is this your suggested patch? And if so, can you test it on kfreebsd-*?
That's a fair question.
The code change works if I hardcode -DHAVE_TCGETATTR -DHAVE_TCSETATTR on
line 13 of src/plugins/grass/CMakeLists.txt. I initially tried adding
corresponding check_function_exists calls to that block, but they proved
ineffective; CMake evidently doesn't fall back on adding definitions to
the command line in the absence of a config header.
Likewise, #798053 is still an issue because there was no build system
change to complement the code change.
Thanks for checking!
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://firstname.lastname@example.org
More information about the pkg-lxqt-devel