summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-07-11 22:12:59 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-11 22:12:59 +0000
commitebfd26c38c3788d8924a0fc26ba17c50ae9eebaa (patch)
tree2c7bb2c95905ef59cdc2c063aa43b5bdcce5621a
parent94230e5cfd8c5b78ab63536fa3c1b95ceb92fe0a (diff)
downloadpdfium-ebfd26c38c3788d8924a0fc26ba17c50ae9eebaa.tar.xz
Roll third_party/yasm/source/patched-yasm/ b98114e18..720b70524 (1 commit)
https://chromium.googlesource.com/chromium/deps/yasm/patched-yasm.git/+log/b98114e18d8b..720b70524a44 Created with: roll-dep third_party/yasm/source/patched-yasm TBR=dsinclair@chromium.org Change-Id: Ie8893bfafcb26d8fe88a9c3efa11548043675513 Reviewed-on: https://pdfium-review.googlesource.com/37270 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
-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);
+