summaryrefslogtreecommitdiff
path: root/graphics/OpenRM/patches
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>2005-06-07 16:21:41 +0000
committergarbled <garbled@pkgsrc.org>2005-06-07 16:21:41 +0000
commit6f31a4caedecea1cea7df41f65dc72354befcb10 (patch)
tree3c730db52721ae159f650a68ae77fc5b08985627 /graphics/OpenRM/patches
parentf2f919ba323d5126499d48739980bcaa7cfb27d9 (diff)
downloadpkgsrc-6f31a4caedecea1cea7df41f65dc72354befcb10.tar.gz
NetBSD 2.0 and above pthread doesn't have pthread_set_concurrency. Ifdef
out for NetBSD.
Diffstat (limited to 'graphics/OpenRM/patches')
-rw-r--r--graphics/OpenRM/patches/patch-ae13
1 files changed, 13 insertions, 0 deletions
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
+