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

2011-10-02 Thread Bruno Haible
Gary V. Vaughan wrote: > 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. Yup, I think this patch (or simply using the packag

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

2011-10-02 Thread Gary V. Vaughan
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 trail

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

2011-10-02 Thread Gary V. Vaughan
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.