]> Savannah Git Hosting - gnulib.git/commitdiff
relocatable-prog-wrapper: Fix compilation error on NetBSD 7.
authorBruno Haible <bruno@clisp.org>
Sun, 10 Nov 2024 23:56:15 +0000 (00:56 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 12 Nov 2024 00:46:16 +0000 (01:46 +0100)
Reported by Ionut Cosmin Mihai <ionut.cosmin.mihai@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gnu-libiconv/2024-11/msg00000.html>.

* lib/relocwrapper.c: Fix dependency tree.
* modules/relocatable-prog-wrapper (Files): Add lib/stat-time.h,
lib/stat-time.c.
* build-aux/install-reloc (func_create_wrapper): Compile also
stat-time.c.

ChangeLog
build-aux/install-reloc
lib/relocwrapper.c
modules/relocatable-prog-wrapper

index db680fa94d1081c084b416c7ad9317201ae9eb4b..30ec241d31f084153e61d78d9be043a39594986b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2024-11-10  Bruno Haible  <bruno@clisp.org>
+
+       relocatable-prog-wrapper: Fix compilation error on NetBSD 7.
+       Reported by Ionut Cosmin Mihai <ionut.cosmin.mihai@gmail.com> in
+       <https://lists.gnu.org/archive/html/bug-gnu-libiconv/2024-11/msg00000.html>.
+       * lib/relocwrapper.c: Fix dependency tree.
+       * modules/relocatable-prog-wrapper (Files): Add lib/stat-time.h,
+       lib/stat-time.c.
+       * build-aux/install-reloc (func_create_wrapper): Compile also
+       stat-time.c.
+
 2024-10-31  Bruno Haible  <bruno@clisp.org>
 
        assert-h: Allow mixed use of gcc/g++ also on Haiku 2022.
index 10eaabf4e05e88a4320fe44ae4bbe186294db136..d188bca60b86b8bc18c089fcb9e58ffde8fac12c 100755 (executable)
@@ -236,6 +236,7 @@ func_create_wrapper ()
                "$srcdir"/allocator.c \
                "$srcdir"/readlink.c \
                "$srcdir"/stat.c \
+               "$srcdir"/stat-time.c \
                "$srcdir"/canonicalize-lgpl.c \
                "$srcdir"/malloc/scratch_buffer_grow.c \
                "$srcdir"/malloc/scratch_buffer_grow_preserve.c \
index b40f88cfdf55402491ac3cd34c8f8193927a8dab..8d28f0443607c1e1f167bf383856abc3248fbdfb 100644 (file)
@@ -22,6 +22,7 @@
        -> stat
           -> filename
           -> pathmax
+          -> stat-time
           -> verify
        -> areadlink
           -> careadlinkat
index b2143809ca56e7621313b1f515b0e68c236e14ee..21dee18a01b70d20b010717b617027f7ec02ecb2 100644 (file)
@@ -16,6 +16,8 @@ lib/allocator.h
 lib/allocator.c
 lib/readlink.c
 lib/stat.c
+lib/stat-time.h
+lib/stat-time.c
 lib/canonicalize-lgpl.c
 lib/scratch_buffer.h
 lib/malloc/scratch_buffer.h