racket: Fix build

%ci:no-build
This commit is contained in:
Tee KOBAYASHI 2022-09-17 14:06:35 +09:00 committed by xtkoba
parent 831c7604c3
commit 8bca4ef246
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- a/collects/compiler/private/xform.rkt
+++ b/collects/compiler/private/xform.rkt
@@ -506,7 +506,7 @@
(when recorded-cpp-in
;; Skip over common part:
(let loop ([lpos 1])
- (let ([pl (read-bytes-line recorded-cpp-in 'any)])
+ (let ([pl (skip-to-interesting-line recorded-cpp-in)])
(unless (eof-object? pl)
(let ([l (skip-to-interesting-line (car cpp-process))])
(unless (equal? pl l)