pkgsrc/www/webkit1-gtk/patches/patch-Source_WTF_wtf_MathExtras.h
wiz 7b644999a5 Re-import webkit-gtk-1.10.2nb17 as www/webkit1-gtk, in preparation
for v2 of the package.

WebKit is an open source web browser engine. WebKit is also the name of
the Mac OS X system framework version of the engine that's used by
Safari, Dashboard, Mail, and many other OS X applications. WebKit's HTML
and JavaScript code began as a branch of the KHTML and KJS libraries
from KDE.

This is the GTK2+ port of major version 1 of the engine.
2014-08-03 22:07:39 +00:00

15 lines
589 B
C++

$NetBSD: patch-Source_WTF_wtf_MathExtras.h,v 1.1 2014/08/03 22:07:39 wiz Exp $
Remove bogus Solaris check.
--- Source/WTF/wtf/MathExtras.h.orig 2012-10-16 15:22:38.000000000 +0000
+++ Source/WTF/wtf/MathExtras.h
@@ -288,7 +288,7 @@ inline bool isWithinIntRange(float x)
return x > static_cast<float>(std::numeric_limits<int>::min()) && x < static_cast<float>(std::numeric_limits<int>::max());
}
-#if !COMPILER(MSVC) && !COMPILER(RVCT) && !OS(SOLARIS)
+#if !COMPILER(MSVC) && !COMPILER(RVCT)
using std::isfinite;
#if !COMPILER_QUIRK(GCC11_GLOBAL_ISINF_ISNAN)
using std::isinf;