head 1.3; access; symbols pkgsrc-2014Q4:1.2.0.10 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.8 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.6 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.4 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.2 pkgsrc-2013Q4-base:1.2; locks; strict; comment @// @; 1.3 date 2014.12.30.17.23.46; author adam; state dead; branches; next 1.2; commitid 1jIE5UF7705yw54y; 1.2 date 2013.12.17.23.22.35; author joerg; state Exp; branches; next 1.1; commitid dVl9Saeki2b6Fxhx; 1.1 date 2013.12.13.14.38.35; author ryoon; state Exp; branches; next ; commitid LyqQkBZQHNHTSYgx; desc @@ 1.3 log @Changes 5.4.0: Chromium-based browser engine Qt WebEngine Qt WebView for showing web content using the native OS web engine on mobile Full support on Qt for Windows Store Apps, including WinRT and Windows Phone 8.1 Improved Compliance with iOS 8 and Xcode 6 Improved OS X 10.10 ‘Yosemite’ support and new Mac AppStore signing High-DPI support for Windows and OS X Dynamic GL switching between OpenGL and ANGLE on Windows Mix OpenGL and Qt Quick with QOpenGLWidget Android Look-and-Feel for Qt Quick Controls Qt Creator 3.3 with new Qt Quick Designer Bluetooth now supports BlueZ5 with tech preview on Bluetooth LE @ text @$NetBSD: patch-qtwebkit_Source_WTF_wtf_NumberOfCores.cpp,v 1.2 2013/12/17 23:22:35 joerg Exp $ * Add NetBSD support --- qtwebkit/Source/WTF/wtf/NumberOfCores.cpp.orig 2013-12-08 17:09:59.000000000 +0000 +++ qtwebkit/Source/WTF/wtf/NumberOfCores.cpp @@@@ -32,6 +32,7 @@@@ // data types defined in the former. See sysctl(3) and style(9). #include #include +#include #elif OS(LINUX) || OS(AIX) || OS(SOLARIS) #include #elif OS(WINDOWS) @@@@ -50,7 +51,7 @@@@ int numberOfProcessorCores() if (s_numberOfCores > 0) return s_numberOfCores; -#if OS(DARWIN) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD) +#if OS(DARWIN) || OS(OPENBSD) || OS(FREEBSD) unsigned result; size_t length = sizeof(result); int name[] = { @@@@ -60,7 +61,7 @@@@ int numberOfProcessorCores() int sysctlResult = sysctl(name, sizeof(name) / sizeof(int), &result, &length, 0, 0); s_numberOfCores = sysctlResult < 0 ? defaultIfUnavailable : result; -#elif OS(LINUX) || OS(AIX) || OS(SOLARIS) +#elif OS(LINUX) || OS(AIX) || OS(SOLARIS) || OS(NETBSD) long sysconfResult = sysconf(_SC_NPROCESSORS_ONLN); s_numberOfCores = sysconfResult < 0 ? defaultIfUnavailable : static_cast(sysconfResult); @ 1.2 log @Explicitly include unistd.h for getconf defines. @ text @d1 1 a1 1 $NetBSD: patch-qtwebkit_Source_WTF_wtf_NumberOfCores.cpp,v 1.1 2013/12/13 14:38:35 ryoon Exp $ @ 1.1 log @Import Qt5 5.2.0rc1 packages and qt5 input module from uim Only tested on NetBSD/amd64 6.99.28. ToDo: * inputmethod/qt5-ibus from Qt5 should be created @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- qtwebkit/Source/WTF/wtf/NumberOfCores.cpp.orig 2013-11-27 01:01:21.000000000 +0000 d7 9 a15 1 @@@@ -50,7 +50,7 @@@@ int numberOfProcessorCores() d24 1 a24 1 @@@@ -60,7 +60,7 @@@@ int numberOfProcessorCores() @