pkgsrc/devel/xulrunner10/patches/patch-nsprpub_pr_src_pthreads_ptsynch.c
ryoon 7c73d57863 Import xulrunner-10.0.3 as devel/xulrunner
* Successor of devel/xulrunner, xulrunner-10.0.2.
* This is ESR (Extended Support Release) version.
* Fix security bugs
2012-03-15 08:58:26 +00:00

13 lines
641 B
C

$NetBSD: patch-nsprpub_pr_src_pthreads_ptsynch.c,v 1.1.1.1 2012/03/15 08:58:28 ryoon Exp $
--- nsprpub/pr/src/pthreads/ptsynch.c.orig 2012-03-09 22:20:31.000000000 +0000
+++ nsprpub/pr/src/pthreads/ptsynch.c
@@ -842,7 +842,7 @@ PR_IMPLEMENT(PRStatus) PR_DeleteSemaphor
*/
#if (defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)) \
|| defined(FREEBSD) || defined(OPENBSD) || defined(BSDI) \
- || defined(DARWIN) || defined(SYMBIAN)
+ || defined(DARWIN) || defined(SYMBIAN) || defined(__DragonFly__)
/* union semun is defined by including <sys/sem.h> */
#else
/* according to X/OPEN we have to define it ourselves */