diff options
Diffstat (limited to 'net-libs/webkit-gtk/files/webkit-gtk-2.0.4-remove-nonstandard-isnan.patch')
-rw-r--r-- | net-libs/webkit-gtk/files/webkit-gtk-2.0.4-remove-nonstandard-isnan.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net-libs/webkit-gtk/files/webkit-gtk-2.0.4-remove-nonstandard-isnan.patch b/net-libs/webkit-gtk/files/webkit-gtk-2.0.4-remove-nonstandard-isnan.patch index 3941faf6..09732164 100644 --- a/net-libs/webkit-gtk/files/webkit-gtk-2.0.4-remove-nonstandard-isnan.patch +++ b/net-libs/webkit-gtk/files/webkit-gtk-2.0.4-remove-nonstandard-isnan.patch @@ -6,7 +6,7 @@ diff -Naur webkitgtk-2.0.4.orig/Source/JavaScriptCore/offlineasm/cloop.rb webkit def cloopEmitCompareDoubleWithNaNCheckAndBranch(operands, condition) - $asm.putc "if (std::isnan(#{operands[0].clValue(:double)}) || isnan(#{operands[1].clValue(:double)})" -+ $asm.putc "if (std::isnan(#{operands[0].clValue(:double)}) )" ++ $asm.putc "if (std::isnan(#{operands[0].clValue(:double)}) " $asm.putc " || (#{operands[0].clValue(:double)} #{condition} #{operands[1].clValue(:double)}))" $asm.putc " goto #{operands[2].cLabel};" end |