On 6/2/24 15:56, Cy Schubert wrote:
FreeBSD bb421be6c117 moved ftime(3) from libcompat to libutil. This
results in the following error,
Hi, I applied this patch, though I had to do it manually as git could
not seem to understand the diff format used. Anyway, it's in and thanks
for the patch!
-jon
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 <c...@freebsd.org>
---
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/Mak
efile.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
--
Jon Trulson
"The less you know, the more you believe."
-- Bono
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel