]> 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:29:50 +0000 (01:29 +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 e10863c5db075a6f0a145f33af99c9405b3435b6..aadd24ef8e021d5039d4e2fffffad1ad159eb54a 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 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 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