]> 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>
Sun, 10 Nov 2024 23:56:15 +0000 (00:56 +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 db003d8378e953a8994e2ebcef5da463acc236ec..095333f6fe111d9b37aeaa8e091c91111e831f41 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-11-10  Pádraig Brady  <P@draigBrady.com>
 
        file-has-acl: avoid -Werror=unused-variable with --disable-acl
index ea2e5cc6dad4f8fd3c8e13dec7ffdb7778d39f85..b471df66d9c9871d81c3274a4b8f2f0cf449ec41 100755 (executable)
@@ -287,6 +287,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 7e0625b1f354cc5ded2aae109643e6e5532c9a97..859e0978512f6e58b08d5cf897e7f168ada3f86e 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