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
|
From: Chris Lamb <lamby@debian.org>
Date: Sat, 16 Aug 2025 19:53:55 +0200
Subject: Make the build reproducible
Last-Update: 2025-04-21
---
schism/version.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/schism/version.c b/schism/version.c
index e25191c..5b18567 100644
--- a/schism/version.c
+++ b/schism/version.c
@@ -222,6 +222,7 @@ static inline int get_version_date(int *pyear, int *pmonth, int *pday)
#endif
#ifdef __TIMESTAMP__
+#ifndef SOURCE_DATE_EPOCH
/* The last time THIS source file was actually edited. */
{
char day_of_week[4], month[4];
@@ -239,6 +240,7 @@ static inline int get_version_date(int *pyear, int *pmonth, int *pday)
}
}
}
+#endif
#endif
{
|