Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510120 - app-portage/eix-0.30.2 fails to compile on Solaris
Summary: app-portage/eix-0.30.2 fails to compile on Solaris
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-12 06:44 UTC by Fabian Groffen
Modified: 2014-10-19 19:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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