bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot compile gettext-0.18.1.1 on latest Mac OS X


From: Gary V. Vaughan
Subject: Re: Cannot compile gettext-0.18.1.1 on latest Mac OS X
Date: Sun, 2 Oct 2011 21:55:40 +0700

On 2 Oct 2011, at 21:31, Gary V. Vaughan wrote:
> On 2 Oct 2011, at 19:23, Gary V. Vaughan wrote:
>> $ grep stpncpy /usr/include/*
>> /usr/include/string.h:char    *stpncpy(char *, const char *, size_t) 
>> __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3;
> 
> Cut-n-paste error, sorry.  The trailing ')' is not missing in the real 
> string.h header.


I found this:

https://trac.macports.org/browser/trunk/dports/devel/gettext/files/stpncpy.patch

While plainly not the right file to patch, it does allow me to complete a 
gettext-0.18.1.1 build on Mac OS 10.7.1.  Maybe a better guard would be '#if 
defined(_AIX) && !defined(stpncpy)'... I'll be happy to test whatever fix is 
applied.

Cheers,
-- 
Gary V. Vaughan (gary AT gnu DOT org)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]