Compilation fails because the compiler doesn't know the iconv_t type in fribidi_main.c. This because #ifdef FRIBIDI_NO_CHARSETS #include <iconv.h> #endif comes before #include "fribidi.h" where FRIBIDI_NO_CHARSETS is defined (if it isn't defined in config.h already). On my system the result is that iconv.h is not included, but FRIBIDI_NO_CHARSETS is defined later anyway. So, the fix is to simply change the include order. Patch follows.
Created attachment 4659 [details] [review] change include order
Thanks. 2006-02-23 Behdad Esfahbod <behdad@gnu.org> * fribidi_main.c: #include fribidi.h before checking for iconv. (fixes fd.o bug #4659)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.