Sorry for answering myself. I just detected a possible solution:
----------------------------------------
--- src/plugins/grass/qtermwidget/kpty.cpp.orig 2011-06-05
13:59:48.000000000 +0200
+++ src/plugins/grass/qtermwidget/kpty.cpp 2011-08-11
08:31:00.000000000 +0200
@@ -48,6 +48,7 @@
#if defined(__FreeBSD__) || defined(__NetBSD__) ||
defined(__OpenBSD__) || defined(__DragonFly__)
#define HAVE_LOGIN
#define HAVE_LIBUTIL_H
+#define HAVE_UTEMPTER
#endif
#include <sys/types.h>
----------------------------------------
At least for me this works.
Am 11.08.2011 08:29 (UTC+1) schrieb Rainer Hurling:
After the latest patches to make the GRASS plugin work QGIS does not
build any more on 9.0-BETA1.
----------------------------------------
[..snip..]
[ 94%] Building CXX object
src/plugins/grass/CMakeFiles/grassplugin.dir/qtermwidget/kpty.cpp.o
/usr/ports/graphics/qgis/work/qgis-1.7.0/src/plugins/grass/qtermwidget/kpty.cpp:85:19:
error: utmp.h: No such file or directory
/usr/ports/graphics/qgis/work/qgis-1.7.0/src/plugins/grass/qtermwidget/kpty.cpp:
In member function 'void KPty::login(const char*, const char*)':
/usr/ports/graphics/qgis/work/qgis-1.7.0/src/plugins/grass/qtermwidget/kpty.cpp:449:
error: aggregate 'utmp l_struct' has incomplete type and cannot be defined
/usr/ports/graphics/qgis/work/qgis-1.7.0/src/plugins/grass/qtermwidget/kpty.cpp:488:
error: '::login' has not been declared
/usr/ports/graphics/qgis/work/qgis-1.7.0/src/plugins/grass/qtermwidget/kpty.cpp:
In member function 'void KPty::logout()':
/usr/ports/graphics/qgis/work/qgis-1.7.0/src/plugins/grass/qtermwidget/kpty.cpp:541:
error: '::logout' has not been declared
*** Error code 1
Stop in /usr/ports/graphics/qgis/work/qgis-1.7.0.
----------------------------------------
Obviously the change from 'utmp.h' to 'utmpx.h' is not solved for this
plugin?
It seems it is necessary but not sufficient to define HAVE_UTMPX in
src/plugins/grass/qtermwidget/kpty.cpp (for example at line 51).
Rainer Hurling
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"