FreeBSD Bugzilla – Attachment 242325 Details for
Bug 271562
www/qt5-webkit: Port fails to build with Ruby 3.2.x
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix qt5-webkit build with Ruby 3.x
patch-Source_JavaScriptCore_offlineasm_parser.rb (text/plain), 1.07 KB, created by
jimp
on 2023-05-22 12:29:08 UTC
(
hide
)
Description:
Patch to fix qt5-webkit build with Ruby 3.x
Filename:
MIME Type:
Creator:
jimp
Created:
2023-05-22 12:29:08 UTC
Size:
1.07 KB
patch
obsolete
>--- Source/JavaScriptCore/offlineasm/parser.rb.orig 2020-03-04 17:16:37 UTC >+++ Source/JavaScriptCore/offlineasm/parser.rb >@@ -584,9 +584,7 @@ class Parser > firstCodeOrigin = @tokens[@idx].codeOrigin > list = [] > loop { >- if (@idx == @tokens.length and not final) or (final and @tokens[@idx] =~ final) >- break >- elsif @tokens[@idx].is_a? Annotation >+ if @tokens[@idx].is_a? Annotation > # This is the only place where we can encounter a global > # annotation, and hence need to be able to distinguish between > # them. >@@ -600,6 +598,8 @@ class Parser > list << Instruction.new(codeOrigin, annotationOpcode, [], @tokens[@idx].string) > @annotation = nil > @idx += 2 # Consume the newline as well. >+ elsif (@idx == @tokens.length and not final) or (final and @tokens[@idx] =~ final) >+ break > elsif @tokens[@idx] == "\n" > # ignore > @idx += 1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 271562
: 242325