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:

> https://quickgit.kde.org/?p=kpty.git&a=commitdiff&h=35ea45b588db9afcbd796576833ac338c6b4b8e8
>
> 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://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu



More information about the Pkg-grass-devel mailing list