aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/smartmontools/files/0001-configure.ac-Define-SOURCE_DATE_EPOCH-in-CPPFLAGS.patch
blob: a6b03db72f84179df4818b345c804a83f1aabefd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From 898fd4115be5cdd848db99fe85e1d0d7f1b3fa02 Mon Sep 17 00:00:00 2001
From: Oleksiy Obitotskyy <oobitots@cisco.com>
Date: Mon, 22 Feb 2021 17:21:33 +0200
Subject: [PATCH] smartmontools: Improve reproducibility

Backport changes added to master smartmontools.
https://github.com/smartmontools/smartmontools/commit/24838916b4c0e91f5c897d44fcdeedb22848f684

Upstream-Status: Backport
Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>

---
 ChangeLog | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 5f0930a..4c5a91e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -705,6 +705,14 @@ $Id: ChangeLog 5338 2022-02-28 16:34:26Z chrfranke $
 
 	Happy New Year!  Update copyright year in version info.
 
+2021-02-07  Christian Franke  <franke@computer.org>
+
+	Improve reproducibility if SOURCE_DATE_EPOCH if set (GH pull/89).
+	configure.ac: Define SOURCE_DATE_EPOCH in CPPFLAGS.
+	utility.cpp: Print SOURCE_DATE_EPOCH value if specified.
+	Don't include configure arguments then.
+	cppcheck.sh: Silence related 'ConfigurationNotChecked' message.
+
 2020-12-30  Christian Franke  <franke@computer.org>
 
 	smartmontools 7.2