summaryrefslogtreecommitdiff
path: root/debian/patches/gcc-SOURCE_DATE_EPOCH-doc.diff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-11-18 15:53:29 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-11-18 15:53:29 +0300
commit8f6c4b0033c72f8ac14694c419a99458339dd6a9 (patch)
tree06c106e622a58100aa85a381b9b65d222b076df4 /debian/patches/gcc-SOURCE_DATE_EPOCH-doc.diff
parent42156b5190f4fa150e1fab6777eb81e69d4db8c9 (diff)
downloadgcc-9-debian.tar.gz
Import gcc-9 (9.2.1-19)debian/9.2.1-19debian
Diffstat (limited to 'debian/patches/gcc-SOURCE_DATE_EPOCH-doc.diff')
-rw-r--r--debian/patches/gcc-SOURCE_DATE_EPOCH-doc.diff33
1 files changed, 0 insertions, 33 deletions
diff --git a/debian/patches/gcc-SOURCE_DATE_EPOCH-doc.diff b/debian/patches/gcc-SOURCE_DATE_EPOCH-doc.diff
deleted file mode 100644
index f5ea3c8..0000000
--- a/debian/patches/gcc-SOURCE_DATE_EPOCH-doc.diff
+++ /dev/null
@@ -1,33 +0,0 @@
-# DP: Allow embedded timestamps by C/C++ macros to be set externally (docs)
-
-gcc/ChangeLog:
-
-2016-04-27 Eduard Sanou <dhole@openmailbox.org>
- Matthias Klose <doko@debian.org>
-
- * doc/cppenv.texi: Document SOURCE_DATE_EPOCH environment variable.
-
---- a/src/gcc/doc/cppenv.texi
-+++ b/src/gcc/doc/cppenv.texi
-@@ -79,4 +79,21 @@
- @ifclear cppmanual
- @xref{Preprocessor Options}.
- @end ifclear
-+
-+@item SOURCE_DATE_EPOCH
-+
-+If this variable is set, its value specifies a UNIX timestamp to be
-+used in replacement of the current date and time in the @code{__DATE__}
-+and @code{__TIME__} macros, so that the embedded timestamps become
-+reproducible.
-+
-+The value of @env{SOURCE_DATE_EPOCH} must be a UNIX timestamp,
-+defined as the number of seconds (excluding leap seconds) since
-+01 Jan 1970 00:00:00 represented in ASCII, identical to the output of
-+@samp{@command{date +%s}}.
-+
-+The value should be a known timestamp such as the last modification
-+time of the source or package and it should be set by the build
-+process.
-+
- @end vtable