pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Latest textproc/md4c update seems to break x11/qt6-qtbase build
> Hi,
>
> It looks like the latest textproc/md4c update seems to break
> x11/qt6-qtbase build (NetBSD/amd64 11.0 using bob):
>
> /home/builder/work/x11/qt6-qtbase/work/qtbase-everywhere-src-6.11.2/src/gui/text/qtextmarkdownimporter.cpp:54:57: error: static assertion failed
> 54 | static_assert(int(QTextMarkdownImporter::DialectGitHub) ==
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
> 55 | (MD_DIALECT_GITHUB | MD_FLAG_UNDERLINE | QTextMarkdownImporter::FeatureFrontMatter));
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /home/builder/work/x11/qt6-qtbase/work/qtbase-everywhere-src-6.11.2/src/gui/text/qtextmarkdownimporter.cpp:54:57: note: the comparison reduces to '(1068812 == 1593100)'
Try this:
--- src/gui/text/qtextmarkdownimporter.cpp.orig 2026-10-02 06:17:11.634188029 +0000
+++ src/gui/text/qtextmarkdownimporter.cpp
@@ -51,8 +51,6 @@ static_assert(int(QTextMarkdownImporter:
static_assert(int(QTextMarkdownImporter::FeatureTasklists) == MD_FLAG_TASKLISTS);
static_assert(int(QTextMarkdownImporter::FeatureNoHTML) == MD_FLAG_NOHTML);
static_assert(int(QTextMarkdownImporter::DialectCommonMark) == MD_DIALECT_COMMONMARK);
-static_assert(int(QTextMarkdownImporter::DialectGitHub) ==
- (MD_DIALECT_GITHUB | MD_FLAG_UNDERLINE | QTextMarkdownImporter::FeatureFrontMatter));
// --------------------------------------------------------
// MD4C callback function wrappers
By the way, qt6 6.12.0 has the same problem :]
Adam
Home |
Main Index |
Thread Index |
Old Index