On 17/02/2017 11:28, Pierre Labastie wrote:
Hi,

Glibc-2.25 introduced a namespace conflict with fontconfig. A fix is in the book , but it is not satisfactory (see thread at [1]), because it breaks the public API. That lead us to fix also libXft (and maybe others, I have not checked). But I think this is not right: fontconfig devs will include a fix in the next version, which will not break the public API. That means we'll have to "unfix" libXft.

I'd rather see the fix committed in fontconfig's git make its way to the book (either with a patch or a sed).

I'll study what is possible (3 lines to change in two files) and let you know.

Regards

Pierre


Forgot to add the reference [1]...
[1] https://lists.freedesktop.org/archives/fontconfig/2016-December/005892.html

The sed commands  which work:
sed -e '/FC_CHAR_WIDTH/s/CHAR_WIDTH/CHARWIDTH/'             \
    -e '/FC_CHARWIDTH/a #define FC_CHAR_WIDTH FC_CHARWIDTH' \
    -i fontconfig/fontconfig.h
sed 's/CHAR_WIDTH/CHARWIDTH/' -i src/fcobjs.h

And libXft builds unmodified.

Pierre
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to