From faf5fbeb360a17d3d3407bf58a39706e4ce12642 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 12 Aug 2011 01:14:45 -0700 Subject: pathchk: port to hosts where mbstate_t is replaced This problem was discovered when trying to build git coreutils on Solaris 8 sparcv9 with Sun C 5.8: the 3rd argument to mbrlen was of type int * (a pointer to the gnulib replacement mbstate_t) but the system mbrlen wants the system mbstate_t *. * bootstrap.conf (gnulib_modules): Add mbrlen. * src/pathchk.c (mbrlen, mbstate_t) [!(HAVE_MBRLEN && HAVE_MBSTATE_T)]: Remove macros, which are wrong now that gnulib supplies replacements for mbstate_t and mbrlen. --- bootstrap.conf | 1 + 1 file changed, 1 insertion(+) (limited to 'bootstrap.conf') diff --git a/bootstrap.conf b/bootstrap.conf index 964b0be47..820cb54d1 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -139,6 +139,7 @@ gnulib_modules=" maintainer-makefile malloc-gnu manywarnings + mbrlen mbrtowc mbsalign mbswidth -- cgit v1.2.3-54-g00ecf