Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 510120

Summary: app-portage/eix-0.30.2 fails to compile on Solaris
Product: Gentoo/Alt Reporter: Fabian Groffen <grobian>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal CC: martin
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Fabian Groffen gentoo-dev 2014-05-12 06:44:40 UTC
eixTk/sysutils.cc: In function ‘bool get_geometry(unsigned int*, unsigned int*)’
:
eixTk/sysutils.cc:125:30: error: ‘ioctl’ was not declared in this scope

ioctl requires according to OpenIndiana manpage

       #include <unistd.h>
       #include <stropts.h>

adding those two includes to the file, makes eix compile.

This needs a check for stropts.h in configure I think.  unistd.h should be available iirc.
Comment 1 Martin Väth 2014-05-13 09:24:05 UTC
Thanks for the report and fix.
Commmited in eix git master on BerliOS and GitHub (>=eix-0.30.3).
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2014-10-19 19:03:44 UTC
newer version in cvs