mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
4cd1e8830e
Alberto Villa (avilla@) has done all the hard work to create Qt 5 ports. Trivial update from 5.2.0-beta1 to 5.2.1 by me. Special thanks for Adriaan de Groot <groot@kde.org> for his assistance for Qt-5.2.0 update. Approved by: portmgr (bapt) (for Mk/bsd.port.mk)
15 lines
458 B
C++
15 lines
458 B
C++
--- ./jsruntime/qv4mm.cpp.orig 2013-10-22 01:49:53.000000000 -0700
|
|
+++ ./jsruntime/qv4mm.cpp 2013-11-06 15:34:38.035186604 -0800
|
|
@@ -218,7 +218,11 @@
|
|
# else
|
|
void* stackBottom = 0;
|
|
pthread_attr_t attr;
|
|
+# if OS(FREEBSD)
|
|
+ pthread_attr_init(&attr);
|
|
+# else
|
|
pthread_getattr_np(pthread_self(), &attr);
|
|
+# endif
|
|
size_t stackSize = 0;
|
|
pthread_attr_getstack(&attr, &stackBottom, &stackSize);
|
|
pthread_attr_destroy(&attr);
|