pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_MathExtras.h
leot 03861fb6a3 Update www/webkit-gtk to 2.10.5.
Changes:
  - Disable DNS prefetch when a proxy is configured.
  - Reduce the maximum simultaneous network connections to match other browsers.
  - Make WebKitWebView always propagate motion-notify-event signal.
  - Add a way to force accelerating compositing mode at runtime using an environment variable.
  - Fix input elements and scrollbars rendering with GTK+ 3.19.
  - Fix rendering of lines when using solid colors.
  - Fix UI process crashes related to not having a main resource response when the load is
    committed for pages restored from the history cache.
  - Fix a WebProcess crash when loading large contents with custom URI schemes API.
  - Fix a crash in the UI process when the WebView is destroyed while the screensaver DBus proxy
    is being created.
  - Fix WebProcess crashes due to BadDrawable X errors in accelerated compositing mode.
  - Fix crashes on PPC64 due to mprotect() on address not aligned to the page size.
  - Fix std::bad_function_call exception raised in dispatchDecidePolicyForNavigationAction.
  - Fix downloads of data URLs.
  - Fix runtime critical warnings when closing a page containing windowed plugins.
  - Fix several crashes and rendering issues.
  - Translation updates: French, German, Italian, Turkish.
  - Security fixes: CVE-2015-7096, CVE-2015-7098.
2016-01-21 13:42:32 +00:00

15 lines
408 B
C++

$NetBSD: patch-Source_WTF_wtf_MathExtras.h,v 1.6 2016/01/21 13:42:33 leot Exp $
Avoid broken section for SunOS/gcc.
--- Source/WTF/wtf/MathExtras.h.orig 2016-01-20 12:13:00.000000000 +0000
+++ Source/WTF/wtf/MathExtras.h
@@ -75,7 +75,7 @@ const double sqrtOfTwoDouble = M_SQRT2;
const float sqrtOfTwoFloat = static_cast<float>(M_SQRT2);
#endif
-#if OS(SOLARIS)
+#if OS(notSOLARIS)
namespace std {