Remove a reference to __DATE__ from yasm for non official builds.

R=maruel@chromium.org
TBR=hclam@chromium.org
BUG=

Review URL: https://codereview.chromium.org/759653005

Cr-Original-Commit-Position: refs/heads/master@{#305876}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d6dc32712273697cabc01d3be99ae5a5442b4a72
diff --git a/CHROMIUM.diff b/CHROMIUM.diff
new file mode 100644
index 0000000..764cbf7
--- /dev/null
+++ b/CHROMIUM.diff
@@ -0,0 +1,24 @@
+--- frontends/tasm/tasm.c
++++ frontends/tasm/tasm.c
+@@ -224,7 +224,9 @@
+ /* version message */
+ /*@observer@*/ static const char *version_msg[] = {
+     PACKAGE_STRING,
++#if !defined(DONT_EMBED_BUILD_METADATA) || defined(OFFICIAL_BUILD)
+     "Compiled on " __DATE__ ".",
++#endif
+     "Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.",
+     "Run yasm --license for licensing overview and summary."
+ };
+--- frontends/yasm/yasm.c
++++ frontends/yasm/yasm.c
+@@ -213,7 +213,9 @@
+ /* version message */
+ /*@observer@*/ static const char *version_msg[] = {
+     PACKAGE_STRING,
++#if !defined(DONT_EMBED_BUILD_METADATA) || defined(OFFICIAL_BUILD)
+     "Compiled on " __DATE__ ".",
++#endif
+     "Copyright (c) 2001-2011 Peter Johnson and other Yasm developers.",
+     "Run yasm --license for licensing overview and summary."
+ };
diff --git a/README.chromium b/README.chromium
index 56513f7..7006a63 100644
--- a/README.chromium
+++ b/README.chromium
@@ -13,6 +13,7 @@
 * https://github.com/yasm/yasm/commit/2bd66514b6b100887c19d8598da38347b3cff40e
 * https://github.com/yasm/yasm/commit/ab19547382660d81e0b4a0232dccb38f44c52a36
 * https://github.com/yasm/yasm/commit/9728322335cba96500861ef766b1546d096e5600
+* CHROMIUM.diff
 
 
 See also the yasm.gyp file for a description of the yasm build process.