On 9/18/21 4:18 AM, Christian Schoenebeck wrote:
this patch is just needed if you care that tar does no longer compile on
a substantial amount of systems out there.

Tar releases should compile just fine on these systems, so the patch is not needed for them.

You're building from Git not from a tar release, so as mentioned in README-hacking some extra steps are needed. I installed the attached patch to document an extra step that is needed on some older platforms. This should address your problem in a better way.
From c5b86d7672fae5e565c657ef78b0339e73180596 Mon Sep 17 00:00:00 2001
From: Paul Eggert <egg...@cs.ucla.edu>
Date: Sat, 18 Sep 2021 08:16:04 -0700
Subject: [PATCH] build: document WERROR_CFLAGS

* README-hacking: Mention 'make WERROR_CFLAGS='.
---
 README-hacking | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/README-hacking b/README-hacking
index 4f6de652..0381d513 100644
--- a/README-hacking
+++ b/README-hacking
@@ -14,6 +14,10 @@ version.
 - Texinfo <http://www.gnu.org/software/texinfo>
 - Git <http://git.or.cz>
 
+Up-to-date compilers and libraries are also recommended, for better
+static checking.  You may be able to use an older compiler by building
+with 'make WERROR_CFLAGS='; if so, don't worry about its false alarms.
+
 * Bootstrapping
 
 Obviously, if you are reading these notes, you did manage to clone
-- 
2.30.2

Reply via email to