Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Feb 2021 13:05:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 253870] devel/libgtop: fails to build on head after commit 2bfd8992c7c7
Message-ID:  <bug-253870-6497-tYZbvaktYX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253870-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253870-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253870

--- Comment #5 from Guido Falsi <madpilot@FreeBSD.org> ---
(In reply to Tomoaki AOKI from comment #4)

Basic problem is that the source itself is including and using system inclu=
des
and already polluting things with _KERNEL. I grabbed sys/types.h because it=
 is
what buf.h seems to expect.

Anyway in this case what we are missing is only the bool definition, and I
suspect that the function returning bool and causing the error is not even =
used
in this code.

This means we could get away with a typedef bool to int and everything would
work.

I really have no idea what is the "correct" solution. Ideal solution would =
be
fixing this code to not use system includes at all.

--=20
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253870-6497-tYZbvaktYX>