From 3fa42c44a8a26be64853a83d0c7abf9e6d24c4ba Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Sun, 2 Jun 2024 17:49:45 -0600 Subject: [PATCH] dtcm: Chase FreeBSD src bb421be6c117 which moved ftime(3) Patch from Cy Schubert: FreeBSD bb421be6c117 moved ftime(3) from libcompat to libutil. This results in the following error, ld: error: undefined symbol: ftime >>> referenced by getdate.c >>> libDtCmP_a-getdate.o:(cm_getdate) in archive ../libDtCmP/libDtCmP.a >>> did you mean: ctime Signed off by: Cy Schubert --- cde/programs/dtcm/dtcm/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cde/programs/dtcm/dtcm/Makefile.am b/cde/programs/dtcm/dtcm/Makefile.am index 93fbbf3a1..60ccc8d7b 100644 --- a/cde/programs/dtcm/dtcm/Makefile.am +++ b/cde/programs/dtcm/dtcm/Makefile.am @@ -8,7 +8,7 @@ AM_CFLAGS = $(DT_INCDIR) $(CSA_INCDIR) -I../../../lib/csa \ LDADD = ../libDtCmP/libDtCmP.a $(LIBCSA) $(DTCLIENTLIBS) $(XTOOLLIB) if FREEBSD -LDADD += -lcompat +LDADD += -lcompat -lutil endif if NETBSD