summaryrefslogtreecommitdiff
path: root/audio/xmms-mad
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>2003-12-23 09:52:11 +0000
committersimonb <simonb@pkgsrc.org>2003-12-23 09:52:11 +0000
commit4a4abb30ea604ba93e2c7370c0e52dcc4d535609 (patch)
treeaf10c128158cc44e07dfe995fa41dc2fdda86cb5 /audio/xmms-mad
parentb8312cc7fe599ffbd75f527e2776b39d3cebcf3e (diff)
downloadpkgsrc-4a4abb30ea604ba93e2c7370c0e52dcc4d535609.tar.gz
Plug two file descriptor links.
The xmms-mad author has been sent these patches.
Diffstat (limited to 'audio/xmms-mad')
-rw-r--r--audio/xmms-mad/distinfo5
-rw-r--r--audio/xmms-mad/patches/patch-aa15
-rw-r--r--audio/xmms-mad/patches/patch-ac14
3 files changed, 29 insertions, 5 deletions
diff --git a/audio/xmms-mad/distinfo b/audio/xmms-mad/distinfo
index faef9d6b4d2..994b827b305 100644
--- a/audio/xmms-mad/distinfo
+++ b/audio/xmms-mad/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2003/12/17 03:27:17 simonb Exp $
+$NetBSD: distinfo,v 1.4 2003/12/23 09:52:11 simonb Exp $
SHA1 (xmms-mad-0.5.5.tar.gz) = f571d049821b72bf5fe49fb9c58d71aefa01057e
Size (xmms-mad-0.5.5.tar.gz) = 307441 bytes
-SHA1 (patch-aa) = a57d21ec514762b5ac6e2555282e07ad00979910
+SHA1 (patch-aa) = e92ed1f948efab64fed029102e563fe1aab9463d
SHA1 (patch-ab) = 169850b0f96e2097824ef6d8a48a2c7cad815780
+SHA1 (patch-ac) = fb3d1674cc281f907e53069ef252d56e5ec0a95f
diff --git a/audio/xmms-mad/patches/patch-aa b/audio/xmms-mad/patches/patch-aa
index 0d941025ca0..4566ffb5252 100644
--- a/audio/xmms-mad/patches/patch-aa
+++ b/audio/xmms-mad/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 2002/10/27 07:31:12 rh Exp $
+$NetBSD: patch-aa,v 1.3 2003/12/23 09:52:11 simonb Exp $
---- src/decoder.c.orig Fri May 10 00:53:45 2002
+--- src/decoder.c.orig Fri May 30 21:31:35 2003
+++ src/decoder.c
-@@ -205,6 +205,9 @@ decode (void *arg)
+@@ -260,6 +260,9 @@ decode (void *arg)
/* main loop */
do
{
@@ -12,3 +12,12 @@ $NetBSD: patch-aa,v 1.2 2002/10/27 07:31:12 rh Exp $
if (info->stop)
break;
if (seek_skip)
+@@ -416,6 +419,8 @@ decode (void *arg)
+ #endif /* DEBUG */
+
+ mad_plugin.output->close_audio ();
++ close (info->infile);
++ info->infile = 0;
+ info->stop = 1;
+ pthread_exit (0);
+ }
diff --git a/audio/xmms-mad/patches/patch-ac b/audio/xmms-mad/patches/patch-ac
new file mode 100644
index 00000000000..e24d049c83f
--- /dev/null
+++ b/audio/xmms-mad/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1 2003/12/23 09:52:11 simonb Exp $
+
+--- src/input.c.orig Thu Sep 25 04:01:50 2003
++++ src/input.c
+@@ -447,6 +447,9 @@ input_read_tag (struct mad_info_t *info)
+ if (title_input->genre) g_free (title_input->genre);
+ if (title_input->comment) g_free (title_input->comment);
+ g_free (title_input);
++
++ id3_file_close (info->id3file);
++ info->id3file = NULL;
+ }
+
+ /**