On Fri, 19 Jun 2015, Douglas Carmichael wrote:

> When I tried to build CDE on FreeBSD 10.1-RELEASE-p10, the rest of the 
> package builds fine. 
> 
> But, dtmail does not (as you can see in ticket #48), thus CDE can’t build 
> properly.

The problem is somewhere around 

http://sourceforge.net/p/cdesktopenv/code/ci/master/tree/cde/programs/dtmail/libDtMail/Common/Session.C#l1622

  const char *ip = (const char *) *bp;


Looks like libiconv FreeBSD port has changed (between libiconv 1.14,6
and libiconv 1.14,7 - see 
https://svnweb.freebsd.org/ports/head/converters/libiconv/Makefile?r1=373660&r2=384038)

They decided to remove "const" (to be POSIX-strict), but this
hurts all "const char **" callers.

Two workarounds possible:

1) remove " || defined(__FreeBSD__)" from the line 1621
in Session.C and see if it helps.

2) Move /usr/local/include/iconv.h away and use system <iconv.h>, which has 
"const"

~Marcin

------------------------------------------------------------------------------
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to