diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:22:56 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:22:56 +0000 |
commit | 3f472a4e5ca21e3ddb13737473e636b2b11a408a (patch) | |
tree | 7db1ab317884b9f6e04b6e13737c1679879cb97a /debian/patches/libstdc++-doxygen-SOURCE_DATE_EPOCH.diff | |
parent | Adding upstream version 13.2.0. (diff) | |
download | gcc-13-3f472a4e5ca21e3ddb13737473e636b2b11a408a.tar.xz gcc-13-3f472a4e5ca21e3ddb13737473e636b2b11a408a.zip |
Adding debian version 13.2.0-10.debian/13.2.0-10debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/libstdc++-doxygen-SOURCE_DATE_EPOCH.diff')
-rw-r--r-- | debian/patches/libstdc++-doxygen-SOURCE_DATE_EPOCH.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/libstdc++-doxygen-SOURCE_DATE_EPOCH.diff b/debian/patches/libstdc++-doxygen-SOURCE_DATE_EPOCH.diff new file mode 100644 index 0000000..1636c08 --- /dev/null +++ b/debian/patches/libstdc++-doxygen-SOURCE_DATE_EPOCH.diff @@ -0,0 +1,13 @@ +--- gcc-13.1.0/src/libstdc++-v3/scripts/run_doxygen 2023-04-26 00:09:43.000000000 -0700 ++++ gcc-13.1.0/src/libstdc++-v3/scripts/run_doxygen.new 2023-04-30 14:34:47.513318389 -0700 +@@ -130,7 +130,9 @@ + latex_cmd= + enabled_sections= + generate_tagfile= +-DATEtext=`date '+%Y-%m-%d'` ++DATE_FMT="+%Y-%m-%d" ++SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(date +%s)}" ++DATEtext=`date -u -d "@$SOURCE_DATE_EPOCH" "$DATE_FMT" 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" "$DATE_FMT" 2>/dev/null || date -u "$DATE_FMT"` + + # Show how this script is called. + echo run_doxygen $* |