courier-unicode fails to build on Mac OS 10.10.5

Christian Ebert <[email protected]> Mon, 21 Dec 2015 14:11:48 +0000
Newsgroups gmane.mail.maildrop
Organization Black Trash Productions http://www.blacktrash.org
Message-ID <[email protected]>
Hello,

Version 1.4 of courier-unicode fails to build like so:

make[1]: Entering directory '/Users/chris/src/courier-unicode-1.4'
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -I.. -I./.. -g -O2 -Wall -fexceptions -MT unicode.lo -MD -MP -MF .deps/unicode.Tpo -c -o unicode.lo unicode.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./.. -g -O2 -Wall -fexceptions -MT unicode.lo -MD -MP -MF .deps/unicode.Tpo -c unicode.c  -fno-common -DPIC -o .libs/unicode.o
In file included from unicode.c:8:
./courier-unicode.h:44:43: error: unknown type name 'locale_t'
extern const char *unicode_locale_chset_l(locale_t l);
                                          ^
unicode.c:41:36: error: unknown type name 'locale_t'
const char *unicode_locale_chset_l(locale_t l)
                                   ^
unicode.c:43:21: warning: implicit declaration of function 'nl_langinfo_l' is invalid in C99
      [-Wimplicit-function-declaration]
        return fix_charset(nl_langinfo_l(CODESET, l));
                           ^
1 warning and 2 errors generated.
Makefile:748: recipe for target 'unicode.lo' failed
make[1]: *** [unicode.lo] Error 1
make[1]: Leaving directory '/Users/chris/src/courier-unicode-1.4'
Makefile:556: recipe for target 'all' failed
make: *** [all] Error 2


$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.10.5
BuildVersion:	14F1509
$ uname -mprsv
Darwin 14.5.0 Darwin Kernel Version 14.5.0: Tue Sep  1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64 x86_64 i386

Any ideas?

TIA

-- 
theatre - books - texts - movies
Black Trash Productions at home: http://www.blacktrash.org
Black Trash Productions on Facebook:
http://www.facebook.com/blacktrashproductions

------------------------------------------------------------------------------