[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #66518] [libgroff] stop doing what gnulib can do for us
From: |
Collin Funk |
Subject: |
[bug #66518] [libgroff] stop doing what gnulib can do for us |
Date: |
Tue, 24 Dec 2024 21:16:12 -0500 (EST) |
Follow-up Comment #1, bug #66518 (group groff):
Hi Branden,
I can try to help with some of this. I've attached a patch to use Gnulib for
strcasecmp and strncasecmp.
This patch is simple since the Gnulib module doesn't depend on much.
Therefore, we don't need to link programs to anything (other than libgnu.a and
libgroff.a).
$ gnulib-tool --extract-recursive-link-directive strcase
$
Others will require system libraries and require <program>_LDADD variables to
be updated.
For example:
$ gnulib-tool --extract-recursive-link-directive mkstemp
$(CLOCK_TIME_LIB)
$(GETRANDOM_LIB)
On some systems extra libraries are needed for clock_gettime and getrandom, so
all programs using mkstemp will need those added to <program>_LDADD.
The most time-consuming part will be updating those.
Happy to help with the rest if you don't get to it first. :)
(file #56715)
_______________________________________________________
Additional Item Attachment:
File name: 0001-maint-Use-the-strcase-Gnulib-module.patch Size: 8KiB
<https://file.savannah.gnu.org/file/0001-maint-Use-the-strcase-Gnulib-module.patch?file_id=56715>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-d58233b6feaa780411f7f09b695724cabce7bc1d.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66518>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature