summaryrefslogtreecommitdiffstats
path: root/debian/patches/30_build_path_in_binary.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 16:37:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 16:37:17 +0000
commit69cb215a954eb985f5dfc34aaa753f83702e331f (patch)
tree2b546f4aad692d612d15376a3a90090f4fb91495 /debian/patches/30_build_path_in_binary.diff
parentAdding upstream version 2.9.0dev.12. (diff)
downloadlynx-69cb215a954eb985f5dfc34aaa753f83702e331f.tar.xz
lynx-69cb215a954eb985f5dfc34aaa753f83702e331f.zip
Adding debian version 2.9.0dev.12-1.debian/2.9.0dev.12-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/30_build_path_in_binary.diff')
-rw-r--r--debian/patches/30_build_path_in_binary.diff18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/30_build_path_in_binary.diff b/debian/patches/30_build_path_in_binary.diff
new file mode 100644
index 0000000..a285533
--- /dev/null
+++ b/debian/patches/30_build_path_in_binary.diff
@@ -0,0 +1,18 @@
+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/=\${.*=/=/' \