commit: 2a0fef17e2ea238924b345d3bcfe5c1d8c3a14be
parent b03f3e11c093ed3586ff4109067cae0de63bfb62
Author: Dor Askayo <dor.askayo@gmail.com>
Date: Fri, 14 Jan 2022 13:20:35 +0200
Add a patch to improve the reproducibility of findutils
See the comment in the patch for more details.
Diffstat:
2 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/sysa/findutils-4.2.33/findutils-4.2.33.sh b/sysa/findutils-4.2.33/findutils-4.2.33.sh
@@ -5,6 +5,8 @@
src_prepare() {
. ../../import-gnulib.sh
+ default_src_prepare
+
autoreconf-2.61 -f
# Pre-built texinfo files
diff --git a/sysa/findutils-4.2.33/patches/force-getcwd-fallback.patch b/sysa/findutils-4.2.33/patches/force-getcwd-fallback.patch
@@ -0,0 +1,18 @@
+SPDX-FileCopyrightText: 2022 Dor Askayo <dor.askayo@gmail.com>
+
+SPDX-License-Identifier: GPL-3.0-or-later
+
+Use the fallback implementations of getcwd to get the same /usr/bin/find
+checksum when building across FUSE and non-FUSE filesystems.
+
+--- gnulib/m4/getcwd-path-max.m4 2022-01-08 13:16:54.412709192 +0200
++++ gnulib/m4/getcwd-path-max.m4 2022-01-16 11:38:02.658606802 +0200
+@@ -81,7 +81,7 @@
+ char *cwd = getcwd (buf, PATH_MAX);
+ size_t initial_cwd_len;
+ size_t cwd_len;
+- int fail = 0;
++ int fail = 1;
+ size_t n_chdirs = 0;
+
+ if (cwd == NULL)