debian/patches: Add 2002_reproducible-build.patch. Make builds reproducible. Thanks to Chris Lamb for providing the patch. (Closes: #951357).
This commit is contained in:
parent
87401d346a
commit
ba9552b1f6
16
debian/patches/2002_reproducible-build.patch
vendored
Normal file
16
debian/patches/2002_reproducible-build.patch
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
Description: Make the build reproducible
|
||||
Author: Chris Lamb <lamby@debian.org>
|
||||
Last-Update: 2020-02-15
|
||||
|
||||
--- mate-desktop-1.24.0.orig/configure.ac
|
||||
+++ mate-desktop-1.24.0/configure.ac
|
||||
@@ -62,6 +62,9 @@ AC_DEFINE(MATE_MINOR, [mate_minor], [Def
|
||||
AC_DEFINE(MATE_MICRO, [mate_micro], [Define to the micro version])
|
||||
|
||||
RELEASE_YEAR=`date +%Y`
|
||||
+if test "x$SOURCE_DATE_EPOCH" != "x"; then
|
||||
+ RELEASE_YEAR=`date -u -d "@$SOURCE_DATE_EPOCH" +%Y 2>/dev/null || date -u -r $SOURCE_DATE_EPOCH +%Y || date -u +%Y`
|
||||
+fi
|
||||
AC_SUBST([RELEASE_YEAR])
|
||||
|
||||
AC_ARG_ENABLE(deprecation_flags,
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -1 +1,2 @@
|
||||
2001_prefer-x-terminal-emulator.patch
|
||||
2002_reproducible-build.patch
|
||||
|
Loading…
Reference in New Issue
Block a user