[PATCH] maint: update library name used by Gnulib

Collin Funk <[email protected]>
Newsgroups gmane.editors.nano.devel
Message-ID <[email protected]>
Hi,

There is an outdated Makefile.am variable used by Gnulib per this NEWS
entry:

2023-01-07  clock_time      Link with $(CLOCK_TIME_LIB) instead of
                            $(LIB_CLOCK_GETTIME).

I've attached a patch fixing it.

Collin
0001-maint-update-library-name-used-by-Gnulib.patch (text/x-patch, 824 B)
From 2598a4a6d552c4e18323475127981e3500b723bd Mon Sep 17 00:00:00 2001
From: Collin Funk <[email protected]>
Date: Sat, 24 Aug 2024 17:42:18 -0700
Subject: [PATCH] maint: update library name used by Gnulib

* src/Makefile.am (nano_LDADD): Change $(LIB_CLOCK_GETTIME) to
$(CLOCK_TIME_LIB) per Gnulib NEWS 2023-01-07.
---
 src/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index dff550d1..b050e655 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -43,7 +43,7 @@ nano_SOURCES = \
 		winio.c
 
 nano_LDADD = @LIBINTL@ $(top_builddir)/lib/libgnu.a \
-		$(GETRANDOM_LIB) $(LIB_CLOCK_GETTIME) $(LIBTHREAD)
+		$(GETRANDOM_LIB) $(CLOCK_TIME_LIB) $(LIBTHREAD)
 
 install-exec-hook:
 	cd $(DESTDIR)$(bindir) && rm -f rnano && $(LN_S) nano rnano
-- 
2.46.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.