From 6f31a4caedecea1cea7df41f65dc72354befcb10 Mon Sep 17 00:00:00 2001 From: garbled Date: Tue, 7 Jun 2005 16:21:41 +0000 Subject: NetBSD 2.0 and above pthread doesn't have pthread_set_concurrency. Ifdef out for NetBSD. --- graphics/OpenRM/patches/patch-ae | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 graphics/OpenRM/patches/patch-ae (limited to 'graphics/OpenRM/patches') diff --git a/graphics/OpenRM/patches/patch-ae b/graphics/OpenRM/patches/patch-ae new file mode 100644 index 00000000000..2dfebece592 --- /dev/null +++ b/graphics/OpenRM/patches/patch-ae @@ -0,0 +1,13 @@ +$NetBSD: patch-ae,v 1.1 2005/06/07 16:21:41 garbled Exp $ +--- rm/rminit.c.orig 2005-06-07 08:40:51.000000000 -0700 ++++ rm/rminit.c 2005-06-07 08:41:19.000000000 -0700 +@@ -133,7 +133,9 @@ + #ifdef SOLARIS + glXInitThreadsSUN(); + #else ++ #ifndef __NetBSD__ + pthread_setconcurrency(12); ++ #endif + #endif + #endif + -- cgit v1.2.3