SVN commit 11770 by rakuco:

qt5: Add a patch to allow using clang, -std=c++11 and base libstdc++.

This is similar to what we did for Qt4 in r11443. Some C++11 features actually
depend on the C++ standard library, such as <initializer_list> or std::move().

So far, ports with USES=compiler:c++0x and similar failed to build with Qt5 on
FreeBSD 9.x, as base libstdc++ is very old and does not support those C++11
features.

Piggyback on a check that is already present upstream for OS X, which has the
same ancient libstdc++ version. Apple's version has a custom patch with version
macros that we can't use, so we make a broader check and disable the features
that depend on a modern standard library if libc++ is not used.



 M  +3 -1      Mk/bsd.qt.mk  
 AM            
devel/qt5/files/extrapatch-src_corelib_global_qcompilerdetection.h  


_______________________________________________
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