mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
a835ce065d
So far, Qt4 was basing its check for compiler support for C++11 features (auto types, lambdas, rvalue references and others) on the values of __GNUC__ and __GNUC_MINOR__. This works for GCC, but not for clang, whose __GNUC_MINOR__ is stuck at 2. In practice, this meant Qt programs built using clang were never able to use C++11 features which are conditionally available in classes such as QList. This patch makes the detection more in line with what Qt5 does (checks for GCC and clang are in separate sections and are done differently). I couldn't find cases of this negatively affecting any port so far, but it is useful to have -- Akonadi's unit tests require C++11 support in Qt, for example. Only qt4-corelibs's PORTREVISION was bumped to make the new qglobal.h be installed. Checks for these C++11 features are only present in headers of other Qt4 ports, so there's no need to rebuild them. |
||
---|---|---|
.. | ||
files | ||
distinfo | ||
Makefile | ||
pkg-descr |