Assembla home | Assembla project page
 

PortLog: sys-devel/gettext

http://www.gnu.org/software/gettext/

version 0.17

R5unstable
BONEuntested
Haikuunstable

unfinished (andreasf) - [Haiku]

Compilation fails:

/boot/home/gettext-0.17/gettext-runtime/intl/loadmsgcat.c: In function `_nl_load_domain':
/boot/home/gettext-0.17/gettext-runtime/intl/loadmsgcat.c:783: warning: initialization makes pointer from integer without a cast
/boot/home/gettext-0.17/gettext-runtime/intl/loadmsgcat.c:783: initializer element is not constant
/boot/home/gettext-0.17/gettext-runtime/intl/loadmsgcat.c:784: parse error before `int'

Line 783 has the following:

  __libc_lock_define_initialized_recursive (static, lock)

With the fixes from the CVS version compiles and installs okay.

CVS HEAD (0.18)

R5untested
BONEuntested
Haikubroken

Dependencies:

work-in-progress (andreasf) - [Haiku]

There is an issue with generating the gettext-tools configure script.

Configuring with --disable-threads works around the above __libc_lock_define_initialized_recursive issue.

In config.h do not define HAVE___FSETLOCKING to avoid compilation failure in gettext-runtime/intl/localealias.c due to lack of stdio_ext.h.

Gnulib's stdbool header needs fixing for Haiku.

Patch (partial)