"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Tom Jones <thj@freebsd.org>
Subject:
diff.git Fix build on Ubuntu 22.04
To:
gameoftrees@openbsd.org
Date:
Tue, 30 Aug 2022 14:40:12 +0100

Download raw body.

Thread
Latest Ubuntu wants strlcpy.c in the Makefile to be able to build. 

This change passes the tests up to the arraylist tests, which fail when
comparing the output.

I am not sure if this is an existing issue or not for the diff.git repo.

---
 lib/GNUmakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/GNUmakefile b/lib/GNUmakefile
index cb35f75..fe92381 100644
--- a/lib/GNUmakefile
+++ b/lib/GNUmakefile
@@ -12,7 +12,7 @@ SRCS = \
 # Compat sources
 VPATH=         $(CURDIR)/../compat
 SRCS+=         getprogname_linux.c reallocarray.c recallocarray.c merge.c \
-	       strlcat.c
+	       strlcat.c strlcpy.c
 CFLAGS+=       -I$(CURDIR)/../compat/include
 
 OBJS = $(SRCS:.c=.o)