[Reproducible-commits] [doxygen] 01/01: Modified function to produce timezone independent timestamps using UTC

Maria Valentina Marin Rodrigues akira-guest at moszumanska.debian.org
Thu Jul 23 14:03:20 UTC 2015


This is an automated email from the git hooks/post-receive script.

akira-guest pushed a commit to branch pu/reproducible_builds
in repository doxygen.

commit 86ddec3ca0e6d6aea2bd43d41d285191880f1693
Author: akira <marivalenm at gmail.com>
Date:   Thu Jul 23 14:41:08 2015 +0200

    Modified function to produce timezone independent timestamps using UTC
---
 debian/changelog                                            |  6 ++++--
 ...fied-function-to-produce-timezone-independent-timestamps | 13 +++++++++++++
 debian/patches/series                                       |  1 +
 3 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ddc44ec..eb7096a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,13 @@
-doxygen (1.8.9.1-3.1~reproducible3) UNRELEASED; urgency=medium
+doxygen (1.8.9.1-3.1~reproducible4) UNRELEASED; urgency=medium
 
   * Non-maintainer upload.
   * Applied upstream commit
     https://github.com/doxygen/doxygen/commit/b31266c1076c6284116f17241d9e8aa048f88e60
     which honours $SOURCE_DATE_EPOCH
+  * Modified function QDateTime::setTime_t to produce timezone independent
+    timestamps by using UTC
 
- -- akira <marivalenm at gmail.com>  Thu, 23 Jul 2015 10:24:47 +0200
+ -- akira <marivalenm at gmail.com>  Thu, 23 Jul 2015 14:36:53 +0200
 
 doxygen (1.8.9.1-3) unstable; urgency=medium
 
diff --git a/debian/patches/Modified-function-to-produce-timezone-independent-timestamps b/debian/patches/Modified-function-to-produce-timezone-independent-timestamps
new file mode 100644
index 0000000..e36c01f
--- /dev/null
+++ b/debian/patches/Modified-function-to-produce-timezone-independent-timestamps
@@ -0,0 +1,13 @@
+Description: Modified function QDateTime::setTime_t to produce timezone independent timestamps by using UTC
+
+--- doxygen-1.8.9.1.orig/qtools/qdatetime.cpp
++++ doxygen-1.8.9.1/qtools/qdatetime.cpp
+@@ -1142,7 +1142,7 @@ QDateTime::QDateTime( const QDate &date,
+ void QDateTime::setTime_t( uint secsSince1Jan1970UTC )
+ {
+     time_t tmp = (time_t) secsSince1Jan1970UTC;
+-    tm *tM = localtime( &tmp );
++    tm *tM = gmtime( &tmp );
+     if ( !tM ) {
+ 	tM = gmtime( &tmp );
+ 	if ( !tM ) {
diff --git a/debian/patches/series b/debian/patches/series
index 86dcd2e..ab83593 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -11,3 +11,4 @@ issue742427.diff
 no-timestamps.diff
 default-no-timestamp.diff
 0001-Honour-SOURCE_DATE_EPOCH-environment-variable-for-re.patch
+Modified-function-to-produce-timezone-independent-timestamps

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/doxygen.git



More information about the Reproducible-commits mailing list