In 9-STABLE, the system compiler is still gcc 4.2. The code in kde4-workspace 
(area51/trunk, for KDE 4.11) and kwin in particular does some stuff that gcc 
4.2 does not understand. The attached patch switches the port of use gcc 4.7. 
This version of gcc is already installed for kactivities, which is a (build) 
dependency of kde4-workspace, so it adds no new dependencies.

There's no upstream (KDE) policy regarding compiler versions, but gcc 4.2 just 
isn't tested, and KDE5 will have a "recent gcc or clang" as a requirement.

[ade]
Index: KDE/x11/kde4-workspace/Makefile
===================================================================
--- KDE/x11/kde4-workspace/Makefile	(revision 9825)
+++ KDE/x11/kde4-workspace/Makefile	(working copy)
@@ -47,7 +47,7 @@
 USE_GNOME=	glib20
 USE_KDE4=	kactivities kdehier kdelibs kdeprefix oxygen pimlibs \
 		akonadi automoc4 ontologies qimageblitz soprano strigi
-USES=		cmake:outsource pkgconfig gettext gmake iconv
+USES=		cmake:outsource compiler:c++11-lib pkgconfig gettext gmake iconv
 USE_QT4=	corelib dbus declarative designer_build gui network \
 		opengl phonon qtestlib script sql webkit xml \
 		moc_build qmake_build rcc_build uic_build
_______________________________________________
kde-freebsd mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to