Bug#824079: qgis: FTBFS on non-Linux: 'TCGETS' was not declared in this scope
    Aaron M. Ucko 
    ucko at debian.org
       
    Fri May 13 01:34:30 UTC 2016
    
    
  
Sebastiaan Couwenberg <sebastic at xs4all.nl> writes:
> Adding " || defined(__FreeBSD_kernel__)" to the #elif statements in
> kpty.cpp should be sufficient to not need the CMakeLists.txt changes.
Indeed, that approach (my initial suggestion in #798053) also works, Alf
Gaida's opening comment in https://github.com/lxde/qtermwidget/issues/50
notwithstanding.  For that matter, so does simply testing whether
TIOCGETA and TIOCSETA are defined -- although they're not technically
required to be macros, they are in practice.
-- 
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