summaryrefslogtreecommitdiff
path: root/graphics/xine-ui/patches/patch-ad
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2003-04-11 11:59:55 +0000
committerrh <rh@pkgsrc.org>2003-04-11 11:59:55 +0000
commit7b0411fbeaef98c8a58bc8f4be7c528bc3eb2a50 (patch)
tree6b935ec3bcbe3f0dfe1293a8cf920a3d48400711 /graphics/xine-ui/patches/patch-ad
parent2c00ca0486ce28746755e04f6f7c6d2558fcf4ad (diff)
downloadpkgsrc-7b0411fbeaef98c8a58bc8f4be7c528bc3eb2a50.tar.gz
Initial import of xine-ui-0.9.20, a skinned xlib-based media player gui.
Diffstat (limited to 'graphics/xine-ui/patches/patch-ad')
-rw-r--r--graphics/xine-ui/patches/patch-ad21
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/xine-ui/patches/patch-ad b/graphics/xine-ui/patches/patch-ad
new file mode 100644
index 00000000000..eee458a50dc
--- /dev/null
+++ b/graphics/xine-ui/patches/patch-ad
@@ -0,0 +1,21 @@
+$NetBSD: patch-ad,v 1.1.1.1 2003/04/11 11:59:56 rh Exp $
+
+--- src/xitk/panel.c.orig Thu Mar 13 06:28:54 2003
++++ src/xitk/panel.c
+@@ -1320,14 +1320,14 @@ void panel_init (void) {
+
+ {
+ pthread_attr_t pth_attrs;
+-#if ! defined (__OpenBSD__)
++#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
+ struct sched_param pth_params;
+ #endif
+
+ pthread_attr_init(&pth_attrs);
+
+ /* this won't work on linux, freebsd 5.0 */
+-#if ! defined (__OpenBSD__)
++#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
+ pthread_attr_getschedparam(&pth_attrs, &pth_params);
+ pth_params.sched_priority = sched_get_priority_min(SCHED_OTHER);
+ pthread_attr_setschedparam(&pth_attrs, &pth_params);