1
0
Fork 0
lynx/debian/patches/30_build_path_in_binary.diff
Daniel Baumann 2771558a64
Adding debian version 2.9.2-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 08:10:35 +02:00

18 lines
488 B
Diff

Description: Strip out build path from cfg_defs.h
For build reproducibility when building in a different directory. Debian
builds use -fdebug-prefix-map=$builddir=.
Author: Andreas Metzler <ametzler@debian.org>
Origin: vendor
Forwarded: no
Last-Update: 2021-07-27
--- a/scripts/cfg_defs.sh
+++ b/scripts/cfg_defs.sh
@@ -21,6 +21,7 @@ static const struct {
EOF
sed \
+ -e "s@`pwd`@SUPRRESSED4REPRODUCIBLEBUILD@g" \
-e '/^#/d' \
-e 's/^.[^=]*_cv_//' \
-e 's/=\${.*=/=/' \