libXfont2 strlcat/strlcpy patch
alan.coopersmith at oracle.com
Wed Oct 23 15:33:38 UTC 2019
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.coopersmith at oracle.com
Oracle Solaris Engineering - https://blogs.oracle.com/alanc
More information about the xorg-devel