freebsd-ports/emulators/qmc2
Adriaan de Groot b01da5e68f emulators/qmc2: Prep-work for Qt 5.15; compatible with Qt 5.14
In Qt 5.15 an enumeration is introduced which has enumerators
True and False, used like QCborSimpleType::False. In C++ that's
3 tokens, one name. The C Preprocessor deals with tokens, though,
and since some headers #define False 0, we end up with tokens
QCborSimpleType::0 instead, which is nonsense.

The actual defines are only relevant in C code internals, not the
API for lzma that is used from C++. So somewhat-hackishly just switch
off the #defines when in C++ mode.

The change is complicated by this *particular* source file being
in DOS CRLF mode.

Reported by:	tcberner
2020-05-31 12:42:19 +00:00
..
files emulators/qmc2: Prep-work for Qt 5.15; compatible with Qt 5.14 2020-05-31 12:42:19 +00:00
distinfo
Makefile emulators/qmc2: Prep-work for Qt 5.15; compatible with Qt 5.14 2020-05-31 12:42:19 +00:00
pkg-descr
pkg-message
pkg-plist