Hi Nilson,

On Wed, 13 Mar 2024 17:34:15 +0000 Nilson Silva <nilsonfsi...@hotmail.com> wrote:
Relevant part (hopefully):
> cc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O 
-DSYSPATHFILE=\"/usr/lib/X11/Xli\"   -Wdate-time -D_FORTIFY_SOURCE=2 fill.c
> dither.c: In function ‘dither’:
> dither.c:77:36: error: implicit declaration of function ‘strlen’ 
[-Werror=implicit-function-declaration]
>    77 |     image->title = (char *)lmalloc(strlen(cimage->title) + 12);
>       |                                    ^~~~~~
> dither.c:28:1: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
>    27 | #include "xli.h"
>   +++ |+#include <string.h>
>    28 |

Do you need a hand in fixing this? This issue threatens a bunch of my packages with autoremoval.

Best wishes,
Andrius

Reply via email to