Dear Maintainer,
I tried to rebuild kopete from source and got errors such as these:
Generating s5b.moc
/mnt/extras/src/kopete-17.08.3/protocols/jabber/libiris/src/irisnet/noncore/cutestuff/bytestream.h:52: Parse error at "defined"
Apparently this is caused by a nonconformity of moc's preprocessor which
manifests itself when macro
major(arg)
is defined, as, unfortunately file <sys/sysmacros.h> does. The line 52
in the error message refers to a line in this particular file (not in
the file it reports, which is a bit confusing.
This has been noted before. I have found a rethat bugreprot of the same
problem here: https://bugzilla.redhat.com/show_bug.cgi?id=1396755. Their
solution is to work it around by a hack that filters that particular
include out. A proper fix would be to make the preprocessor correct, but
that would require too much work.
Therefore, I propose this patch, that, in line with redhat hacks it
around. I've checked that with the patch, kopete builds successfully.