summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormycroft <mycroft@pkgsrc.org>2003-10-06 07:21:57 +0000
committermycroft <mycroft@pkgsrc.org>2003-10-06 07:21:57 +0000
commitd8108582c6d006271a25a128cb6a9bc6247298ce (patch)
tree7894e0dca2c98ffaf5ee661f982b98e803d3600f
parente6c85cbd25adb8350bdae377f960795b17a1e6bd (diff)
downloadpkgsrc-d8108582c6d006271a25a128cb6a9bc6247298ce.tar.gz
Fix uninitialized mutexes in the "aa" and "none" output plugins.
-rw-r--r--graphics/xine-lib/distinfo4
-rw-r--r--graphics/xine-lib/patches/patch-ar13
-rw-r--r--graphics/xine-lib/patches/patch-as13
3 files changed, 29 insertions, 1 deletions
diff --git a/graphics/xine-lib/distinfo b/graphics/xine-lib/distinfo
index 620f310ee21..e0b5401a326 100644
--- a/graphics/xine-lib/distinfo
+++ b/graphics/xine-lib/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2003/10/06 04:52:06 mycroft Exp $
+$NetBSD: distinfo,v 1.13 2003/10/06 07:21:57 mycroft Exp $
SHA1 (xine-lib-1-rc0a.tar.gz) = ee41ba602179a9f02208a15e3dff36a1dfa00fac
Size (xine-lib-1-rc0a.tar.gz) = 4211552 bytes
@@ -18,3 +18,5 @@ SHA1 (patch-an) = 4877ff4f905c2b62c37c0d4bbb51510d8a043344
SHA1 (patch-ao) = 53de6febfed214e9e43d53e3e5b83af1fcb19b20
SHA1 (patch-ap) = 7bb70f8d5cee7787e831649cb746d21000a357fc
SHA1 (patch-aq) = ec5707d3b7b69912342afc7bef3e8cd182c75ded
+SHA1 (patch-ar) = 3ca0dd7be3e94d3c302299efc706af27f8faf1c1
+SHA1 (patch-as) = 3f0825d62844e5dba66c97ddac515653d07e85d8
diff --git a/graphics/xine-lib/patches/patch-ar b/graphics/xine-lib/patches/patch-ar
new file mode 100644
index 00000000000..0b5972b9c3b
--- /dev/null
+++ b/graphics/xine-lib/patches/patch-ar
@@ -0,0 +1,13 @@
+$NetBSD: patch-ar,v 1.1 2003/10/06 07:21:57 mycroft Exp $
+
+--- src/video_out/video_out_aa.c.orig 2003-07-13 19:29:04.000000000 +0000
++++ src/video_out/video_out_aa.c 2003-10-06 07:16:39.000000000 +0000
+@@ -109,6 +109,8 @@
+ frame = (aa_frame_t *) malloc (sizeof (aa_frame_t));
+ memset (frame, 0, sizeof (aa_frame_t));
+
++ pthread_mutex_init (&frame->vo_frame.mutex, NULL);
++
+ frame->vo_frame.copy = NULL;
+ frame->vo_frame.field = aa_frame_field;
+ frame->vo_frame.dispose = aa_dispose_frame;
diff --git a/graphics/xine-lib/patches/patch-as b/graphics/xine-lib/patches/patch-as
new file mode 100644
index 00000000000..2073ff42de8
--- /dev/null
+++ b/graphics/xine-lib/patches/patch-as
@@ -0,0 +1,13 @@
+$NetBSD: patch-as,v 1.1 2003/10/06 07:21:57 mycroft Exp $
+
+--- src/video_out/video_out_none.c.orig 2003-07-13 19:29:04.000000000 +0000
++++ src/video_out/video_out_none.c 2003-10-06 07:16:41.000000000 +0000
+@@ -95,6 +95,8 @@
+ abort();
+ }
+
++ pthread_mutex_init (&frame->vo_frame.mutex, NULL);
++
+ frame->vo_frame.base[0] = NULL;
+ frame->vo_frame.base[1] = NULL;
+ frame->vo_frame.base[2] = NULL;