Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2014 14:42:48 +0300
From:      Arto Pekkanen <isoa@kapsi.fi>
To:        Neil Schroeder <gigneil@gmail.com>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: libxshmfence port fails build
Message-ID:  <534D1B38.4050803@kapsi.fi>
In-Reply-To: <CAK9pY-wgZNsbKw0QT=Qn8mBa5hytr4U__i5QsAHvSuRTzx5ttg@mail.gmail.com>
References:  <CAK9pY-wgZNsbKw0QT=Qn8mBa5hytr4U__i5QsAHvSuRTzx5ttg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--l4iTWnqldJi8Ka9vIeilQIrJi6xKP7okd
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

http://www.cplusplus.com/reference/climits/

INT_MAX is defined in standard ANSI-C header limits.h

To me this seems like a typo in the source, missing #include <limits.h> -=
line in xshmfenceint.h

This could be fixed by editing the xshmfenceint.h header in the source an=
d adding #include <limits.h> in the very beginning of the file. Because t=
he source is elswhere, I think you would need to make a site-spesific pat=
ch and include it in the port's Makefile.

Anyways, have you contacted the port maintainer? He might have some infor=
mation regarding this.

On 15.4.2014 3:49, Neil Schroeder wrote:
> I think I picked a bad day to go from 10-STABLE to 11-CURRENT then full=
y
> rebuild all my ports...
>=20
>=20
> In file included from xshmfence_alloc.c:27:
> In file included from ./xshmfenceint.h:33:
> ./xshmfence_futex.h:40:39: error: use of undeclared identifier 'INT_MAX=
'
> --- xshmfence_futex.lo ---
> In file included from xshmfence_futex.c:27:
> In file included from ./xshmfenceint.h:33:
> ./xshmfence_futex.h:40:39: error: use of undeclared identifier 'INT_MAX=
'
> --- xshmfence_alloc.lo ---
>         return sys_futex(addr, UMTX_OP_WAKE, INT_MAX);
>                                              ^
> --- xshmfence_futex.lo ---
>         return sys_futex(addr, UMTX_OP_WAKE, INT_MAX);
>                                              ^
>=20
> I am not too bad with general hackery of dependencies and makefiles but=

> this I'm not sure how to address.
>=20
> Any ideas fine people?
>=20
> NS
> _______________________________________________
> freebsd-x11@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org"
>=20


--l4iTWnqldJi8Ka9vIeilQIrJi6xKP7okd
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTTRs7AAoJEGSnDuw8E9qY52wH/3SCxQ4bw1FrJoilvvvl16No
MRoWULy5IC6vtJ/G8Uc5SWpDxwZZxbCqgalz0xCTErIvbNL11EQJoUcjErXrzETp
XP3d8JkLztGhWFDhL4KOdWcfEo1CFks16AppkATo4zCCIltJUWK4VKTSt3o6EGcS
hp7+je6yKtNf+17oxQlBgo1d+O42qgrjE0EO0vljjdqbXefWqj6DQIGLVAN69Yb6
8SEB3CGHEYg7sJ2rD+DPqSjPYwfLfGkrIlH83+PNXHHPv9VMm2KQkrkhgeSvw9Yl
6s3R+UHtF33SAS9J79G/7vHP7JoYUhxDMkC+sjeQLnwdnU2TqOm9kc5fQ28ZNto=
=eXcw
-----END PGP SIGNATURE-----

--l4iTWnqldJi8Ka9vIeilQIrJi6xKP7okd--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?534D1B38.4050803>