head 1.2; access; symbols pkgsrc-2014Q4:1.1.0.4 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.2 pkgsrc-2014Q3-base:1.1; locks; strict; comment @// @; 1.2 date 2014.12.30.17.23.46; author adam; state dead; branches; next 1.1; commitid 1jIE5UF7705yw54y; 1.1 date 2014.07.14.16.32.14; author jperkin; state Exp; branches; next ; commitid rrVwgZABWcbNFmIx; desc @@ 1.2 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-qtdeclarative_src_qml_jsruntime_qv4mm.cpp,v 1.1 2014/07/14 16:32:14 jperkin Exp $ SunOS needs alloca.h for alloca() Get stack address/size on SunOS --- qtdeclarative/src/qml/jsruntime/qv4mm.cpp.orig 2014-02-01 20:38:02.000000000 +0000 +++ qtdeclarative/src/qml/jsruntime/qv4mm.cpp @@@@ -67,6 +67,10 @@@@ #include // __tls() #endif +#if OS(SOLARIS) +#include +#endif + QT_BEGIN_NAMESPACE using namespace QV4; @@@@ -234,9 +238,15 @@@@ MemoryManager::MemoryManager() # else void* stackBottom = 0; pthread_attr_t attr; - pthread_getattr_np(pthread_self(), &attr); size_t stackSize = 0; +# if OS(SOLARIS) + pthread_attr_init(&attr); + pthread_attr_getstackaddr(&attr, &stackBottom); + pthread_attr_getstacksize(&attr, &stackSize); +# else + pthread_getattr_np(pthread_self(), &attr); pthread_attr_getstack(&attr, &stackBottom, &stackSize); +# endif pthread_attr_destroy(&attr); m_d->stackTop = static_cast(stackBottom) + stackSize/sizeof(quintptr); @ 1.1 log @Various patches to fix x11/qt5-qtdeclarative on SunOS. @ text @d1 1 a1 1 $NetBSD$ @