Source: dvbstreamer Version: 2.1.0-5.1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpath X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0] we noticed that dvbstreamer could not be built reproducibly. This is because it embeds the absolute build path in the config.h file. A patch is attached that replaces the part with "/dummy". [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/rules 2020-12-08 10:32:57.348147508 +0000 --- b/debian/rules 2020-12-08 10:48:31.343248606 +0000 @@ -34,3 +34,6 @@ #empty dependency_libs sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'` + + # strip build path + sed -i 's@^\(#define PACKAGE_SOURCE_DIR\) .*@\1 "/dummy"@' `find . -name 'config.h'`