pkgsrc/devel/xulrunner17/patches/patch-ba
ryoon 27af90c8a6 Import xulrunner17-17.0.2 as devel/xulrunner17.
XULRunner is a runtime environment for applications using the
XML User Interface Language, XUL. It is the successor of the "Gecko"
runtime environment.

This package tracks 17.0.x extended support release.
2013-01-10 16:17:09 +00:00

24 lines
755 B
Text

$NetBSD: patch-ba,v 1.1 2013/01/10 16:17:10 ryoon Exp $
pthread_t may be 64-bit, avoid casting it.
--- nsprpub/pr/include/private/pprthred.h.orig 2012-08-24 22:55:59.000000000 +0000
+++ nsprpub/pr/include/private/pprthred.h
@@ -19,6 +19,8 @@
#include <os2.h>
#endif
+#include <pthread.h>
+
PR_BEGIN_EXTERN_C
/*---------------------------------------------------------------------------
@@ -59,7 +61,7 @@ NSPR_API(void) PR_DetachThread(void);
** Get the id of the named thread. Each thread is assigned a unique id
** when it is created or attached.
*/
-NSPR_API(PRUint32) PR_GetThreadID(PRThread *thread);
+NSPR_API(pthread_t) PR_GetThreadID(PRThread *thread);
/*
** Set the procedure that is called when a thread is dumped. The procedure