On Mon, Oct 16, 2017 at 10:41:56AM -0400, Aaron M. Ucko wrote: > Thanks for the quick response! I can't readily test a fix[1], but > suspect the problem is the second half of > > > #elif defined __APPLE__ || !defined __GNU__
oh, right...
> which results in trying to #include <sys/sysctl.h> on a wide range of
> architectures. (Only the Hurd predefines __GNU__.) Seeing as cmake
> detects that <sys/sysctl.h> is unusable on x32, I'd suggest merging and
> simplifying the second and third branches to something along the lines of
Actually, I wonder why we need that !defined __GNU__ at all. It's added
by the patch used to support !linux archs, but nonetheless, sysctl() is
only used in code sourranded by '#if defined __APPLE__' anyway.
I'm trying a patch now.
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature
-- debian-science-maintainers mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers
