summaryrefslogtreecommitdiff
path: root/audio/xmms
diff options
context:
space:
mode:
authorfredb <fredb>2001-08-11 20:48:46 +0000
committerfredb <fredb>2001-08-11 20:48:46 +0000
commit2dea0802370dfe16cbe5ce3fe89e8a7c62113217 (patch)
tree10f8255eb23904049a322ae3f834f19f0b225803 /audio/xmms
parentce098e6171e7b49fda2e0c5301b19d6a7c05c98d (diff)
downloadpkgsrc-2dea0802370dfe16cbe5ce3fe89e8a7c62113217.tar.gz
Include <pthread.h> to get prototype for pthread_yield_in().
Diffstat (limited to 'audio/xmms')
-rw-r--r--audio/xmms/patches/patch-ah19
1 files changed, 15 insertions, 4 deletions
diff --git a/audio/xmms/patches/patch-ah b/audio/xmms/patches/patch-ah
index 84b395c8de6..d2633b6f238 100644
--- a/audio/xmms/patches/patch-ah
+++ b/audio/xmms/patches/patch-ah
@@ -1,8 +1,19 @@
-$NetBSD: patch-ah,v 1.3 2001/05/20 20:52:24 rh Exp $
+$NetBSD: patch-ah,v 1.4 2001/08/11 20:48:46 fredb Exp $
---- libxmms/util.c.orig Mon Oct 2 17:28:41 2000
+--- libxmms/util.c.orig Fri Jun 1 08:07:49 2001
+++ libxmms/util.c
-@@ -68,7 +68,7 @@
+@@ -32,6 +32,10 @@
+ # endif
+ #endif
+
++#ifdef __NetBSD__
++#include <pthread.h>
++#endif
++
+
+ GtkWidget *xmms_show_message(gchar * title, gchar * text, gchar * button_text, gboolean modal, GtkSignalFunc button_action, gpointer action_data)
+ {
+@@ -72,7 +76,7 @@
gboolean xmms_check_realtime_priority(void)
{
@@ -11,7 +22,7 @@ $NetBSD: patch-ah,v 1.3 2001/05/20 20:52:24 rh Exp $
#ifdef __FreeBSD__
/*
* Check if priority scheduling is enabled in the kernel
-@@ -94,11 +94,22 @@
+@@ -98,11 +102,22 @@
#ifdef HAVE_NANOSLEEP
struct timespec req;