summaryrefslogtreecommitdiff
path: root/graphics/xine-ui/patches
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xine-ui/patches')
-rw-r--r--graphics/xine-ui/patches/patch-aa13
-rw-r--r--graphics/xine-ui/patches/patch-ab22
-rw-r--r--graphics/xine-ui/patches/patch-ac37
-rw-r--r--graphics/xine-ui/patches/patch-ad21
-rw-r--r--graphics/xine-ui/patches/patch-ae14
5 files changed, 107 insertions, 0 deletions
diff --git a/graphics/xine-ui/patches/patch-aa b/graphics/xine-ui/patches/patch-aa
new file mode 100644
index 00000000000..e00a86f6b0b
--- /dev/null
+++ b/graphics/xine-ui/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/04/11 11:59:55 rh Exp $
+
+--- doc/man/Makefile.in.orig 2003-04-11 20:18:22.000000000 +1000
++++ doc/man/Makefile.in
+@@ -150,7 +150,7 @@ am__include = @am__include@
+ am__quote = @am__quote@
+ install_sh = @install_sh@
+
+-SUBDIRS = fr es en pl de
++SUBDIRS = en
+ subdir = doc/man
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = $(top_builddir)/config.h
diff --git a/graphics/xine-ui/patches/patch-ab b/graphics/xine-ui/patches/patch-ab
new file mode 100644
index 00000000000..15ce6bcb5ca
--- /dev/null
+++ b/graphics/xine-ui/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/04/11 11:59:56 rh Exp $
+
+--- src/xitk/xine-toolkit/label.c.orig Tue Mar 4 00:43:46 2003
++++ src/xitk/xine-toolkit/label.c
+@@ -294,7 +294,7 @@ static void label_setup_label(xitk_widge
+
+ if(label_len > private_data->length) {
+ pthread_attr_t pth_attrs;
+-#if ! defined (__OpenBSD__)
++#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
+ struct sched_param pth_params;
+ #endif
+
+@@ -303,7 +303,7 @@ static void label_setup_label(xitk_widge
+ 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);
diff --git a/graphics/xine-ui/patches/patch-ac b/graphics/xine-ui/patches/patch-ac
new file mode 100644
index 00000000000..e77dd6b2d75
--- /dev/null
+++ b/graphics/xine-ui/patches/patch-ac
@@ -0,0 +1,37 @@
+$NetBSD: patch-ac,v 1.1.1.1 2003/04/11 11:59:56 rh Exp $
+
+--- src/xitk/xine-toolkit/tips.c.orig Tue Mar 4 00:43:48 2003
++++ src/xitk/xine-toolkit/tips.c
+@@ -240,12 +240,12 @@ static void *_tips_thread(void *data) {
+ /* Create a thread which will destroy the tips window */
+ {
+ pthread_attr_t pth_attrs;
+-#if ! defined (__OpenBSD__)
++#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
+ struct sched_param pth_params;
+ #endif
+
+ pthread_attr_init(&pth_attrs);
+-#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);
+@@ -266,7 +266,7 @@ static void *_tips_thread(void *data) {
+ */
+ void xitk_tips_create(xitk_widget_t *w) {
+ pthread_attr_t pth_attrs;
+-#if ! defined (__OpenBSD__)
++#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
+ struct sched_param pth_params;
+ #endif
+ tips_private_t *tp;
+@@ -283,7 +283,7 @@ void xitk_tips_create(xitk_widget_t *w)
+ tp->w = w;
+ pthread_attr_init(&pth_attrs);
+
+-#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);
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);
diff --git a/graphics/xine-ui/patches/patch-ae b/graphics/xine-ui/patches/patch-ae
new file mode 100644
index 00000000000..a3115e59602
--- /dev/null
+++ b/graphics/xine-ui/patches/patch-ae
@@ -0,0 +1,14 @@
+$NetBSD: patch-ae,v 1.1.1.1 2003/04/11 11:59:56 rh Exp $
+
+--- src/xitk/event.c.orig Thu Mar 20 01:36:08 2003
++++ src/xitk/event.c
+@@ -985,7 +985,9 @@ void gui_init (int nfiles, char *filenam
+ if (!XInitThreads ()) {
+ printf (_("\nXInitThreads failed - looks like you don't have a "
+ "thread-safe xlib.\n"));
++#ifndef _PTH_PTHREAD_H_
+ exit (1);
++#endif
+ }
+
+ if((gGui->display = XOpenDisplay((getenv("DISPLAY")))) == NULL) {