summaryrefslogtreecommitdiff
path: root/graphics/tslib/files/patch-git-b80ebf565ed56be2a59b036c3b3ec5a2afd25dc8
diff options
context:
space:
mode:
authorAdriaan de Groot <adridg@FreeBSD.org>2020-05-31 12:42:19 +0000
committerAdriaan de Groot <adridg@FreeBSD.org>2020-05-31 12:42:19 +0000
commitb01da5e68f95f5133fcdc04abb0b62432acc69f2 (patch)
treefb0a0729ecf1149877f3ba3f2f26f5ae9b2ef1f3 /graphics/tslib/files/patch-git-b80ebf565ed56be2a59b036c3b3ec5a2afd25dc8
parentTake maintainership. (diff)
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
Diffstat (limited to 'graphics/tslib/files/patch-git-b80ebf565ed56be2a59b036c3b3ec5a2afd25dc8')
0 files changed, 0 insertions, 0 deletions