summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--DEPS2
-rw-r--r--third_party/yasm/CHROMIUM.diff21
2 files changed, 22 insertions, 1 deletions
diff --git a/DEPS b/DEPS
index 9316cd5a98..8fe85c2037 100644
--- a/DEPS
+++ b/DEPS
@@ -34,7 +34,7 @@ vars = {
'tools_memory_revision': 'f7b00daf4df7f6c469f5fbc68d7f40f6bd15d6e6',
'trace_event_revision': '211b3ed9d0481b4caddbee1322321b86a483ca1f',
'v8_revision': '9cf8abb7ce7e3a3152fb71d0e87678e64f7ab0c8',
- 'yasm_source_revision': 'b98114e18d8b9b84586b10d24353ab8616d4c5fc',
+ 'yasm_source_revision': '720b70524a4424b15fc57e82263568c8ba0496ad',
'zlib_revision': '39b4a6260702da4c089eca57136abf40a39667e9',
}
diff --git a/third_party/yasm/CHROMIUM.diff b/third_party/yasm/CHROMIUM.diff
index 8f036f214d..2ff0a6b7b9 100644
--- a/third_party/yasm/CHROMIUM.diff
+++ b/third_party/yasm/CHROMIUM.diff
@@ -79,3 +79,24 @@ index a9a14c0..e45f9c5 100644
return FALSE;
}
+diff --git a/tools/re2c/parser.c b/tools/re2c/parser.c
+index 02d5c66..b3882af 100644
+--- a/tools/re2c/parser.c
++++ b/tools/re2c/parser.c
+@@ -226,15 +226,9 @@ void line_source(FILE *o, unsigned int line)
+ }
+
+ void parse(FILE *i, FILE *o){
+- time_t now;
+-
+- time(&now);
+-
+ peektok = NONE;
+
+- fputs("/* Generated by re2c 0.9.1-C on ", o);
+- fprintf(o, "%-24s", ctime(&now));
+- fputs(" */\n", o); oline+=2;
++ fputs("/* Generated by re2c 0.9.1-C */\n", o); oline++;
+
+ in = Scanner_new(i);
+