print/libraqm failed in
Dimitry Andric
dim at FreeBSD.org
Sat Apr 11 13:31:24 UTC 2020
On 11 Apr 2020, at 04:35, KIRIYAMA Kazuhiko <kiri at truefc.org> wrote:
>
> print/libraqm failed to build:
...
> raqm.c:1934:24: error: overlapping comparisons always evaluate to true [-Werror,-Wtautological-overlap-compare]
> if (ch != 0x102B || ch != 0x102C || ch != 0x1038 ||
> ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
> raqm.c:1937:25: error: overlapping comparisons always evaluate to false [-Werror,-Wtautological-overlap-compare]
> (ch <= 0x109A && ch >= 0x109C) || ch != 0x1A61 || ch != 0x1A63 ||
> ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
> raqm.c:1936:41: error: overlapping comparisons always evaluate to false [-Werror,-Wtautological-overlap-compare]
> ch != 0x1083 || (ch <= 0x1087 && ch >= 0x108C) || ch != 0x108F ||
> ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
> raqm.c:1935:59: error: overlapping comparisons always evaluate to false [-Werror,-Wtautological-overlap-compare]
> (ch <= 0x1062 && ch >= 0x1064) || (ch <= 0x1067 && ch >= 0x106D) ||
> ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
> raqm.c:1935:25: error: overlapping comparisons always evaluate to false [-Werror,-Wtautological-overlap-compare]
> (ch <= 0x1062 && ch >= 0x1064) || (ch <= 0x1067 && ch >= 0x106D) ||
> ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
See:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244401
https://github.com/HOST-Oman/libraqm/issues/115
and finally:
https://svnweb.freebsd.org/changeset/ports/530379
Author: zeising
Date: Thu Apr 2 15:05:52 UTC 2020
New revision: 530379
Log:
print/libraqm: FIx build with llvm 10
Fix the build of print/libraqm with llvm 10.
PR: 244401
Submitted by: dim
Approved by: maintainer timeout
MFH: 2020Q2
Changes:
head/print/libraqm/files/patch-src_raqm.c
-Dimitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20200411/4f75eb10/attachment.sig>
More information about the freebsd-ports
mailing list