libiconv patch to build with llvm/clang c compiler

Ryan Flynn parseerror at gmail.com
Wed Aug 12 05:39:31 UTC 2009


Hello,

Attached is a patch that allows the libiconv port to build with the
llvm/clang C compiler.
It updates a few existing patches and adds 2 new ones, basically just
adding --tag=CC under libtool,
since apparently it is unable to discern that clang is a c compiler.
With this patch libiconv builds
(with a few minor warnings from clang related to the source) and
passes "make check".

A couple of people have been working to get FreeBSD compiling under clang:

    http://wiki.freebsd.org/BuildingFreeBSDWithClang

and from these results

    http://lists.cs.uiuc.edu/pipermail/cfe-dev/2009-June/005274.html

it appears that getting libiconv building with clang will be helpful
towards that effort.

Please let me know if this patch is usable, and if not what I can do.

Thanks

Ryan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libiconv-ports-builds-with-clang.patch
Type: text/x-diff
Size: 3742 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20090812/a14d00b4/libiconv-ports-builds-with-clang.bin


More information about the freebsd-gnome mailing list