[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28571: 25.3; Compile error on macOS Sierra
From: |
Alan Third |
Subject: |
bug#28571: 25.3; Compile error on macOS Sierra |
Date: |
Sun, 24 Sep 2017 12:06:58 +0100 |
User-agent: |
Mutt/1.9.0 (2017-09-02) |
On Sun, Sep 24, 2017 at 07:49:55AM +0000, Philipp Stephani wrote:
> Alan Third <alan@idiocy.org> schrieb am Sa., 23. Sep. 2017 um 21:31 Uhr:
> >
> > Is there maybe a test in configure that’s incorrectly identifying this
> > utimens.c stuff as OK?
> >
> >
> I do have configure output like this:
>
> checking for futimens... yes
> checking for utimensat... yes
>
> So I think the functions are there, but the compilation shouldn't use them
> since they would make the binary incompatible with old versions of macOS.
I agree. I’ve attached a patch that should sort it.
I’m not 100% sure that DARWIN_OS is the right define to check for, but
it seems more appropriate than any others I can think of.
--
Alan Third
0001-Fix-build-on-macOS-bug-28571.patch
Description: Text document
bug#28571: 25.3; Compile error on macOS Sierra, mituharu, 2017/09/28