Bug#788709: FTBFS on kfreebsd-* open.c:46:28: error: '__FreeBSD_version' undeclared (first use in this function)

Steven Chamberlain steven at pyro.eu.org
Sun Jun 14 13:41:21 UTC 2015


Hi,

Christoph Egger wrote:
> Michael Biebl <biebl at debian.org> writes:
> > open.c: In function 'glibtop_open_s':
> > open.c:46:28: error: '__FreeBSD_version' undeclared (first use in this function)
> >   server->os_version_code = __FreeBSD_version;
> 
> Do we have some concept on how to handle those? In cases where it's a
> simple comparison I tend to just "unfold" the thing (tends to be a check
> on whether it's a kernel newer than 6 or 7 so ..
> 
> In this case I'm not so sure?

I haven't looked at this closely, but it probably wants to know
__FreeBSD_kernel_version here.

Regards,
-- 
Steven Chamberlain
steven at pyro.eu.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 493 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20150614/767ad2cb/attachment-0002.sig>


More information about the pkg-gnome-maintainers mailing list