summaryrefslogtreecommitdiff
path: root/x11/wxGTK26/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'x11/wxGTK26/patches/patch-ac')
-rw-r--r--x11/wxGTK26/patches/patch-ac18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11/wxGTK26/patches/patch-ac b/x11/wxGTK26/patches/patch-ac
new file mode 100644
index 00000000000..bce59206aa7
--- /dev/null
+++ b/x11/wxGTK26/patches/patch-ac
@@ -0,0 +1,18 @@
+$NetBSD: patch-ac,v 1.1 2009/01/08 21:58:17 shattered Exp $
+
+--- src/unix/threadpsx.cpp.orig 2006-03-22 02:42:12.000000000 +0300
++++ src/unix/threadpsx.cpp
+@@ -66,6 +66,13 @@
+ #define THR_ID(thr) ((long)(thr)->GetId())
+ #endif
+
++#ifdef __NetBSD__
++#include <sys/param.h>
++#if __NetBSD_Version__ < 499005000 && defined(HAVE_THREAD_PRIORITY_FUNCTIONS)
++#undef HAVE_THREAD_PRIORITY_FUNCTIONS
++#endif
++#endif
++
+ // ----------------------------------------------------------------------------
+ // constants
+ // ----------------------------------------------------------------------------