On 10/23/19 12:48 AM, Michael Joost wrote:
Hi Alan,

regarding your recent patch in xorg/libXfont2 (strlcat/strlcpy fallbacks) I ran into a 
problem on Linux while having libbsd installed. The configure correctly detects libbsd 
and those functions, however, the macro HAVE_LIBBSD is never defined in this process. The 
compile then fails with "implicit declaration" error, as the libbsd includes 
are not loaded from replace.h. When defining this macro manually, everything is fine.
I think HAVE_LIBBSD should be defined by configure when it has found -lbsd.

Hmm, I see what you mean, but I've not heard of problems from any other Linux
users/distro builders, so perhaps something else is masking it for them?

I'm cc'ing the list to see if those who work on Linux see the problem, or
want to provide a patch that they can test more easily than I can.

--
        -Alan Coopersmith-               alan.coopersm...@oracle.com
         Oracle Solaris Engineering - https://blogs.oracle.com/alanc
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to