summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@debian.org>2020-12-31 00:16:04 -0800
committerVagrant Cascadian <vagrant@debian.org>2020-12-31 00:16:04 -0800
commite7e87ffdc9f4b871a2a081d3f1911c9c8b0fac52 (patch)
tree0d6c2282e2a9a9da4341e3c008a58314fa7a9a6c
parent0846d685674ad9f4818d880c77c1388343b5be4f (diff)
Commit Debian 3.0 (quilt) metadatadebian/3.10.5-2archive/debian/3.10.5-2
[dgit (9.10~bpo10+1) quilt-fixup]
-rw-r--r--debian/patches/series1
-rw-r--r--debian/patches/versioninfo.cmake-set-build_date-using-u.patch25
2 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2afc8f2
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+versioninfo.cmake-set-build_date-using-u.patch
diff --git a/debian/patches/versioninfo.cmake-set-build_date-using-u.patch b/debian/patches/versioninfo.cmake-set-build_date-using-u.patch
new file mode 100644
index 0000000..d37bbf4
--- /dev/null
+++ b/debian/patches/versioninfo.cmake-set-build_date-using-u.patch
@@ -0,0 +1,25 @@
+From: Vagrant Cascadian <vagrant@reproducible-builds.org>
+Date: Fri, 25 Dec 2020 10:14:21 +0000
+X-Dgit-Generated: 3.10.5-2 7b334038faf5ff5f41f35caaec93deadf1fc6589
+Subject: VersionInfo.cmake: Set BUILD_DATE using UTC timezone.
+
+(Closes: #978064)
+
+While cmake respects SOURCE_DATE_EPOCH for the timestamp, the
+timestamp needs to be specified in UTC.
+
+https://reproducible-builds.org/docs/timestamps/
+
+---
+
+--- libdigidoc-3.10.5.orig/cmake/modules/VersionInfo.cmake
++++ libdigidoc-3.10.5/cmake/modules/VersionInfo.cmake
+@@ -6,7 +6,7 @@ else()
+ set( BUILD_VER 0 )
+ endif()
+ if(NOT BUILD_DATE)
+- string(TIMESTAMP BUILD_DATE "%d.%m.%Y")
++ string(TIMESTAMP BUILD_DATE "%d.%m.%Y" UTC)
+ endif()
+
+ set( VERSION ${PROJECT_VERSION}.${BUILD_VER} )