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-15 20:21:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:21:24 +0000
commit6ab76b82bd03cb06a60a04bb1aa0544d16d6b81e (patch)
tree92ffa8378f3f78a4b8f758c9d1eafe9b024be9c1 /debian/patches/30_build_path_in_binary.diff
parentAdding upstream version 2.9.0rel.0. (diff)
downloadlynx-6ab76b82bd03cb06a60a04bb1aa0544d16d6b81e.tar.xz
lynx-6ab76b82bd03cb06a60a04bb1aa0544d16d6b81e.zip
Adding debian version 2.9.0rel.0-2.debian/2.9.0rel.0-2
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/=\${.*=/=/' \