Mercurial > hg
view contrib/docker/centos6 @ 33629:5544af862286 stable 4.3
chg: define _GNU_SOURCE to allow CentOS 5 compilation
Without this flag, compilation fails with:
hgclient.c: In function 'hgc_open':
hgclient.c:466: error: 'O_DIRECTORY' undeclared (first use in this function)
hgclient.c:466: error: (Each undeclared identifier is reported only once
hgclient.c:466: error: for each function it appears in.)
Differential Revision: https://phab.mercurial-scm.org/D260
author | Mathias De Maré <mathias.de_mare@nokia.com> |
---|---|
date | Mon, 07 Aug 2017 13:40:36 +0200 |
parents | af09413deb72 |
children | 1baa077214ae |
line wrap: on
line source
FROM centos:centos6 RUN yum install -y gcc RUN yum install -y python-devel python-docutils RUN yum install -y make RUN yum install -y rpm-build RUN yum install -y gettext RUN yum install -y tar # For creating repo meta data RUN yum install -y createrepo # For python RUN yum install -y readline-devel openssl-devel ncurses-devel zlib-devel bzip2-devel