[PATCH cf] Imake.tmpl: Use gzip -n to not save the timestamps

Andreas Boll andreas.boll.dev at gmail.com
Thu Dec 10 12:38:35 PST 2015


Change default GzipCmd to `gzip -n` so that packages depending on
xutils-dev (Debian package which contains util/cf) can be built
reproducibly.

As an example xtel can be built reproducible with this patch.

Fixes bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789964

Suggested-by: Dhole <dhole at openmailbox.org>
Signed-off-by: Andreas Boll <andreas.boll.dev at gmail.com>
---
 Imake.tmpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Imake.tmpl b/Imake.tmpl
index f898bf3..9d02cb6 100644
--- a/Imake.tmpl
+++ b/Imake.tmpl
@@ -1190,7 +1190,7 @@ TCLIBDIR = TclLibDir
 #define CompressCmd compress
 #endif
 #ifndef GzipCmd
-#define GzipCmd gzip
+#define GzipCmd gzip -n
 #endif
 #ifndef CppCmd
 #define CppCmd /LibDirName/cpp
-- 
2.1.4



More information about the xorg-devel mailing list